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