Published
Edited
Jun 2, 2020
Insert cell
Insert cell
Insert cell
Insert cell
diagonal = d3.linkHorizontal().x(d => d.y).y(d => d.x)
Insert cell
tree = d3.tree().nodeSize([dx, dy])
Insert cell
data2 = d3.json("https://gist.githubusercontent.com/whatevercamps/2fca57c98b614a19c70dee8c0cfd4435/raw/db6018b8345d4259bdb27911e34a1ee6b5a4ab6f/taxonomia_anticonceptiva")
Insert cell
data = d3.json("https://gist.githubusercontent.com/whatevercamps/d451e394a5dd80b4e27d9901284204a7/raw/5d8cc0bfb664ff36cd036dcdcc93839f480e9b4e/tax_norep.json")
Insert cell
data3 = d3.json("https://gist.githubusercontent.com/whatevercamps/94ec9ab4628ebd14b2c85dedd45246c8/raw/f5a163abf85894b336af9cba799419e3ea3b9c33/tax_3.json")
Insert cell
data_emb = d3.json("https://gist.githubusercontent.com/whatevercamps/5b4f51bbd9b68213f7cec92c713f2827/raw/091b7c565155c90a8733fd5e3ae975e8d42a7401/tax_embarazo.json")
Insert cell
dx = 10
Insert cell
dy = width / 6
Insert cell
margin = ({top: 10, right: 120, bottom: 10, left: 80})
Insert cell
d3 = require("d3@5")
Insert cell
exportQueries = (() => {

})
Insert cell
queries = []
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