Skip to main content
100%

Black Hat Bar Chart

✓ Published0🌍 Public
PPranay Matalia
Last edited Apr 26, 2022
Created on Apr 26, 2022
Forked from HTML Starter

This bar chart visualizes yearly rainfall data, with a fixed y-axis scale from 5 to 15 mm and bars colored steelblue via a CSS class. The chart uses D3 v7’s `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.axisBottom`/`d3.axisLeft` for tick rendering. Data loads from a CSV file using `d3.csv`, and the SVG is generated procedurally in a React-free vanilla JavaScript setup.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes