Published
Edited
Oct 20, 2021
4 forks
19 stars
Insert cell
Insert cell
chart = BeeswarmChart(counties, {
x: d => d.population,
type: d3.scaleLog,
label: "Population →",
radius: 2,
padding: 1,
width
})
Insert cell
counties = (await FileAttachment("population.csv").csv()).map(d => ({...d, population: +d.population})) // coerce to number
Insert cell
import {BeeswarmChart} from "@d3/beeswarm"
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.
Learn more