Skip to main content
100%

Untitled

✓ Published0🌍 Public
Nneojournalist
Last edited Nov 11, 2022
Created on Nov 11, 2022
Forked from SVG 1

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes