Skip to main content
100%

Untitled

✓ Published0🌍 Public
AAbhishek Kumar
Last edited Feb 18, 2020
Created on Feb 18, 2020
Forked from React Starter

This interactive histogram displays the distribution of a single numeric variable from a CSV dataset of prices. A slider dynamically adjusts the number of bins from 1 to 100, with smooth 1000ms transitions updating both the bar widths and the y-axis scale. The visualization uses d3.histogram to compute bin values, d3.scaleLinear for axes, and d3.axisBottom/axisLeft for rendering scales. Bars are drawn as SVG rectangles with a teal fill, while d3’s data join pattern handles entering and exiting elements during updates.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes