Density Contours
✓ Published0🌍 Public
MMicrobie
Last edited Apr 3, 2018
Created on Apr 3, 2018
Using d3-contour’s density estimation, this example visualizes the bivariate distribution of geyser eruptions with steel-blue contour lines overlaid on white data points. The code loads the faithful.tsv dataset, computes density contours via `d3.contourDensity` with a bandwidth of 40, and renders them as SVG paths using `d3.geoPath`. Axes are labeled “Idle (min.)” and “Erupting (min.)”, with `d3.axisBottom` and `d3.axisLeft` scaled linearly to map waiting time against eruption duration.
AI-generated descriptionAn example of d3-contour for density estimation.
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/e3f4376d54e02d5d43ae32a7cf0e6aa9'>Density Contours</a>
gpl-3.0 Licensed