Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

my DC-Multi BAR chart

Public visualization

my DC-Multi BAR chart

0 stars0🌍 Public
Mmab3105
Last edited Feb 22, 2020
Created on Feb 22, 2020

This visualization displays monthly energy consumption in kilowatt-hours across multiple building sites, with each site represented by a distinct color. It combines bar charts and line graphs within small multiples, plotting time on the x-axis and energy values on the y-axis. The code uses D3 v5’s `csv`, `scaleBand`, `scaleLinear`, `axisBottom`, `axisLeft`, and `nest` functions to process the MonthData.csv file and render SVG elements. Colored bars show individual monthly readings, while overlaid lines and labels track each site’s trend over time.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed