🌍 Public
Viewing a saved revision (read-only)
6f6d9fba0f3f4854827ef47c5194be8f
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.