Skip to main content
100%

Untitled

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

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes