2nd visualisation
✓ Published1🌍 Public
This faceted scatter plot displays the relationship between GDP and renewable energy consumption, with each facet representing a different year. The data, sourced from a CSV file, is grouped by year to create individual small multiples. Each point is colored by country using a categorical color scale. The visualization is built with D3.js version 7, using `d3.csv` for data loading, `d3.group` for grouping, and `d3.scaleOrdinal` for color mapping. SVG-based axes and labels are generated for each facet, with GDP on the x-axis and renewable energy consumption on the y-axis.
AI-generated descriptionA responsive scatter plot.
MIT Licensed