Skip to main content
100%

my - Testing kWh Month chart

✓ Published0🌍 Public
Mmab3105
Last edited Feb 19, 2020
Created on Feb 19, 2020

This example visualizes monthly electricity consumption (kWh) across multiple building sites, displayed as a grouped bar chart. Each month shows separate bars for different sites, with the count of kilowatt-hours encoded by bar height. The chart uses d3.csv to load the data, d3.nest for grouping records by date and site, and d3.scaleBand for positioning both the month groups and the site sub-groups. Axes are rendered with d3.axisBottom and d3.axisLeft, and the SVG output is styled with CSS. Data comes from a local CSV file with Site, DateDay, and SumOfKwh columns.

AI-generated description

This example visualize the Air Traffic Passenger Statistics dataset from DataSF(https://datasf.org/opendata/). The full citation is :

Data acquired from https://datasf.org/opendata/ on February 11 2020. Aggregated data on this page is made freely available under Open Data Commons Public Domain Dedication and License(https://opendatacommons.org/licenses/pddl/1.0/)

The direct link to data set is: https://data.sfgov.org/Transportation/Air-Traffic-Passenger-Statistics/rkru-6vcg

MIT Licensed

Similar vizzes