🌍 Public
Colm Lang A6 Bar Chart
This bar chart visualizes the average share of electricity production from renewables across EU member states from 2012 to 2020. Each bar is colored using a linear color scale to encode the year-over-year percentage change, with a legend displaying the percentage format. The chart is built with D3 v7, using `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis and color encoding, and `d3.legendColor` for the color legend. Data originates from a CSV file, and hovering over a bar reveals its change percentage.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.