Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

5eb7dba2d3c741869fda3932801fa7a0

Untitled

0 stars0🌍 Public
Ddiegobrivo
Last edited Aug 11, 2022
Created on Aug 11, 2022
Forked from D3 Starter

This example combines stacked bar charts and a step-after line graph to compare gas and electrical emissions (kgCO2) with normalized costs across properties. It uses D3 v3 with SVG rendering, reading data from a TSV file. The chart employs ordinal and linear scales, dual y-axes, and d3.svg.axis for ticks, while d3.svg.line defines the cost line with interpolation. Legend rectangles and value labels clarify the two categories.

AI-generated description

A demonstration of how to start using D3 version 6.