🌍 Public
Viewing a saved revision (read-only)
7c9d6743e0a8432e8f3b048f6973500d
Project
This example displays two grouped bar charts showing population and renewable energy consumption by year, sourced from a CSV dataset hosted on GitHub. It uses D3.js v7 to load and parse the data, group records by year, and render SVG bar charts with linear and band scales. The charts are styled with distinct colors, steelblue for population and orange for renewable energy, and include labeled axes and a legend. The visualization offers a comparative view of demographic and energy trends over time.
AI-generated descriptionA responsive scatter plot.