Platform
Resources
Pricing
Sign in
Get started
jingweizhang1995
Workspace
Fork
Published
By
jingweizhang1995
Edited
May 5, 2021
1
Insert cell
md
`# Outreach Count`
Insert cell
import
{
vl
}
from
"@vega/vega-lite-api"
Insert cell
fileContents
=
FileAttachment
(
"OutreachCount - Sheet1.csv"
)
Insert cell
d3
=
require
(
'd3'
)
Insert cell
df
=
d3
.
csvParse
(
await
fileContents
.
text
(
)
,
d3
.
autoType
)
Insert cell
vl
.
markBar
(
)
.
encode
(
vl
.
x
(
)
.
fieldN
(
"Organization"
)
,
vl
.
y
(
)
.
fieldQ
(
'Counts'
)
,
)
.
width
(
500
)
.
height
(
500
)
.
data
(
df
)
.
render
(
)
;
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
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
fileContents
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
df
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML