Skip to main content
100%

Simple Template Example

✓ Published0🌍 Public
GGerHobbelt
Last edited Sep 10, 2012
Created on May 18, 2012

Two buttons load different CSV datasets—monthly electricity prices or transmission limits—into the same bar chart. The bars render as SVG rectangles using d3.scale.linear and d3.scale.ordinal, with d3.csv parsing the files and d3.select handling button clicks. Bars update in place, with newly entered bars colored red and existing bars recolored green.

AI-generated description

Similar vizzes