Skip to content

Instantly share code, notes, and snippets.

View mbostock's full-sized avatar
📊
Plottin’

Mike Bostock mbostock

📊
Plottin’
View GitHub Profile
@mbostock
mbostock / .block
Last active December 6, 2024 07:57
Hierarchical Bar Chart
license: gpl-3.0
redirect: https://observablehq.com/@d3/hierarchical-bar-chart
@mbostock
mbostock / .block
Last active December 1, 2024 10:48 — forked from mbostock/.block
Pedigree Tree
license: gpl-3.0
@mbostock
mbostock / .block
Last active November 30, 2024 14:53 — forked from mbostock/.block
Radial Tidy Tree
license: gpl-3.0
border: no
height: 1060
redirect: https://beta.observablehq.com/@mbostock/d3-radial-tidy-tree
@mbostock
mbostock / .block
Last active November 25, 2024 09:00
Labeled Force Layout
license: gpl-3.0
@mbostock
mbostock / .block
Last active November 25, 2024 09:00
Force-Directed Graph
license: gpl-3.0
height: 600
redirect: https://observablehq.com/@d3/d3-force-directed-graph
@mbostock
mbostock / .block
Last active November 20, 2024 02:07
Gradient Along Stroke
license: gpl-3.0
@mbostock
mbostock / .block
Last active November 12, 2024 15:43
World Map
license: gpl-3.0
redirect: https://observablehq.com/@mbostock/map-coloring
@mbostock
mbostock / index.html
Created August 10, 2018 01:40
Overriding notebook-stdlib
<!DOCTYPE html>
<style>
#test {
max-width: 480px;
width: 50%;
margin: auto;
background: #ccc;
}
@mbostock
mbostock / .block
Last active October 29, 2024 19:32
Canvas Swarm
license: gpl-3.0
@mbostock
mbostock / .block
Last active October 28, 2024 08:38
Mitchell’s Best-Candidate
license: gpl-3.0
redirect: https://observablehq.com/@mbostock/best-candidate-circles