Published
Edited
Aug 30, 2020
Importers
Insert cell
md`# Sunburst Chart`
Insert cell
md`---
### Appendix: Code`
Insert cell
d3 = require('d3@6')
Insert cell
import { addDefaults } from '@nuuuwan/option-utils'
Insert cell
import { getSVG } from '@nuuuwan/svg-utils'
Insert cell
Insert cell
{
const data = await FileAttachment("flare-2.json").json();
return drawSunburst(data, { width: 1000 });
}
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