Platform
Resources
Pricing
Sign in
Contact us
duong tam kien
data analyst • mediapart
Workspace
Fork
Published
By
duong tam kien
Edited
Sep 14, 2022
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot
.
plot
(
{
y
:
{
nice
:
true
,
grid
:
true
,
tickFormat
:
Math
.
abs
}
,
marks
:
[
Plot
.
rectY
(
articles_historique
,
Plot
.
binX
(
{
y
:
"count"
}
,
{
x
:
(
d
)
=>
d3
.
timeDay
(
new
Date
(
d
.
published
)
)
,
thresholds
:
d3
.
utcYear
}
)
)
]
}
)
Insert cell
Plot
.
plot
(
{
y
:
{
domain
:
[
0
,
12
]
,
grid
:
true
,
label
:
"← Women · Men →"
,
labelAnchor
:
"center"
,
tickFormat
:
Math
.
abs
}
,
marks
:
[
Plot
.
dot
(
articles
,
Plot
.
stackY2
(
{
x
:
(
d
)
=>
d3
.
timeDay
(
new
Date
(
d
.
published
)
)
,
y
:
(
d
)
=>
1
}
)
)
]
}
)
Insert cell
Insert cell
Insert cell
Insert cell
articles
=
d3
.
csv
(
'https://raw.githubusercontent.com/taniki/lemonde-parite-disparitions/main/articles.csv'
)
Insert cell
articles_historique
=
d3
.
csv
(
"https://raw.githubusercontent.com/taniki/lemonde-parite-disparitions/main/articles.backfill.csv"
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
global_prop
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
people
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
articles
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
articles_historique
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML