Platform
Resources
Pricing
Sign in
Get started
Yongjie Ji
Trained as Enviornmental Economist, with interests on data visualziation with economic and environmental informaiton.
Workspace
Fork
Published
By
Yongjie Ji
Edited
Jul 22, 2022
Insert cell
#
Learning how to load data and build a simple bar chat in D3js
Insert cell
chart
=
Plot
.
plot
(
{
marks
:
[
Plot
.
barY
(
alphabet
,
{
x
:
"letter"
,
y
:
"frequency"
,
sort
:
{
x
:
"y"
,
reverse
:
true
}
}
)
,
Plot
.
ruleY
(
[
0
]
)
]
}
)
Insert cell
console
.
log
(
Plot
)
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chart
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML