🌍 Public
Viewing a saved revision (read-only)
7d681d1343e64fdf9ac1526eb8e844bb
Bar Chart Practice
This bar chart displays the average energy price in euros per megawatt-hour for four seasons in Spain from 2015 to 2018, sourced from a Kaggle dataset. It shows a fall peak above 64, with spring lowest near 51. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map prices to horizontal bar lengths and seasons to vertical bands. SVG rectangles render the bars with steelblue fills, with margins and axes configured in a single group element.
AI-generated descriptionThis bar chart shows blah blah it won't change anyway.
The dataset is from Spain in the years 2015-2018.