Skip to main content
100%

Stacked Bars and Line Chart

✓ Published0🌍 Public
Ssrikkanth05
Last edited Jul 25, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

This stacked bar and line chart visualizes average balance and duration across different poutcome categories, combining two metrics into a single composition. It loads CSV data via the Fetch API and uses d3.nest with rollup to compute group means. The visualization renders SVG shapes using d3.scaleBand, d3.scaleLinear, and d3.scaleOrdinal, with d3-tip providing interactive mouseover tooltips that display precise values.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes