Black Hat Bar Chart
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed