Untitled
✓ Published0🌍 Public
This interactive histogram displays the distribution of a single numeric variable (price) from a CSV dataset loaded from GitHub. Users adjust the number of bins via a numeric input, triggering a smooth animated transition of the bars. The visualization uses D3.js v5 with `d3.histogram`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` to compute bin counts and render SVG rectangles. The `transition().duration(1000)` API animates updates to the y-axis and bars, while enter/exit transitions add or remove rectangles as bin count changes.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed