Platform
Resources
Pricing
Sign in
Get started
EBVL
Enrico Bertini's Visualization Lab
Workspace
Fork
Public
Guides and Examples
By
Dan Kerrigan
Edited
Jan 10
ISC
5 forks
1 star
Guides and Examples
Introduction
JavaScript Basics
Data Transformation
SVG and D3 Basics
Bar Chart Walk-through
Line and Area Charts
Selections and Joins
Maps
Choropleth Color Schemes
Fundamental Graphs with D3
Graphical Encoding Examples
Contextual Elements, Aesthetics, and Clarity
Small Multiples
Small Multiples with Different Axes
Networks
Interaction
Socrata Open Data API & NYC Open Data
Starting a sequential color scale at a darker color
Insert cell
Insert cell
Insert cell
1
+
2
Insert cell
Insert cell
num
=
1
+
2
Insert cell
num
*
4
Insert cell
Insert cell
newNum
=
{
const
a
=
5
;
const
b
=
6
;
return
a
*
b
;
}
Insert cell
newNum
*
2
Insert cell
Insert cell
<
p
>
This is
<
b
>
HTML
</
b
>
</
p
>
Insert cell
<
svg
width
=
"200"
height
=
"100"
>
<
rect
fill
=
"red"
width
=
"200"
height
=
"100"
>
</
svg
>
Insert cell
This
**
Markdown
**
Insert cell
Insert cell
md
`This is also *Markdown*`
Insert cell
tex
`E = mc^2`
Insert cell
Insert cell
b
=
a
*
2
Insert cell
a
=
30
Insert cell
Insert cell
viewof
radius
=
Inputs
.
range
(
[
0
,
100
]
,
{
label
:
"Radius"
,
step
:
1
}
)
Insert cell
radius
Insert cell
viewof
color
=
Inputs
.
color
(
{
label
:
"Color"
,
value
:
"#4682b4"
}
)
Insert cell
<
svg
width
=
"200"
height
=
"200"
>
<
circle
cx
=
100
cy
=
100
r
=
${radius}
fill
=
${color}
/>
</
svg
>
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
num
Add comment
Copy import
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
newNum
Add comment
Copy import
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
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
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
b
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
a
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
radius
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
color
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML