Skip to main content
100%

SDV_Assignment 5

✓ Published0🌍 Public
Mmaddulanagasanjana@gmail.com
Last edited Oct 5, 2025
Created on Oct 5, 2025
Forked from D3 Starter

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
MIT Licensed

Similar vizzes