Platform
Resources
Pricing
Sign in
Contact us
D3
Bring your data to life.
Workspace
Fork
Published
d3-sankey
By
Mike Bostock
Edited
Jan 14, 2021
ISC
Fork of
Parallel sets
•
15 forks
29 stars
1
d3-sankey
Sankey diagram
Nike Quarterly Statement
Brexit Voting
Parallel sets
Sankey diagram component
Insert cell
Insert cell
chart
Insert cell
color
=
d3
.
scaleOrdinal
(
[
"Remain"
,
"Leave"
]
,
[
"#da4f81"
,
"#5ac5c4"
]
)
.
unknown
(
"#ccc"
)
Insert cell
data
=
FileAttachment
(
"brexit.csv"
)
.
csv
(
{
typed
:
true
}
)
Insert cell
import
{
chart
,
d3
}
with
{
color
,
data
}
from
"@d3/parallel-sets"
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
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Show 1 comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
color
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML