🌍 Public
Viewing a saved revision (read-only)
9ca4cefb629f40ed9a2ad3f26953e728
Fork of D3 Starter
This example displays a bar chart of average energy consumption by household appliance, sourced from a CSV file. It uses D3 v7 to load the data, construct linear and band scales, and render SVG rectangles for the bars, with rotated axes labels. The visualization adds a descriptive title and applies a blue fill to each bar via the `d3.scaleBand` and `d3.scaleLinear` APIs.
AI-generated description