Untitled
✓ Published0🌍 Public
This example presents a histogram of the `price` values from a single-column CSV dataset. Built with React and D3 v4, it creates an SVG visualization with a linear x-axis and automatically binned y-axis counts. The code explicitly uses `d3.scaleLinear`, `d3.histogram`, and `d3.axisBottom`/`d3.axisLeft` to render the distribution, with bars filled in olive. Data is fetched from a remote GitHub-hosted CSV using `d3.csv`, and the histogram bins are defined by the domain and 19 ticks.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed