🌍 Public
Viewing a saved revision (read-only)
06c1eaab93f24e5dbc34b8d05ca2d738
SDV_Assignment 5
This bar chart displays the average energy consumption in kilowatt-hours for home appliances across different cities. The visualization aggregates a CSV dataset loaded via `d3.csv`, computing city-level means with `d3.rollups`. A `d3.scaleBand` maps cities to the x-axis, while a `d3.scaleLinear` handles the y-axis, with bars rendered as SVG rectangles. The page also presents a data summary and a sample table. The interface uses a pastel gradient background and loads data from a GitHub gist.
AI-generated description