Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stacked Bars and Line Chart

Public visualization

Viewing a saved revision (read-only)

e4cdfb4a15e6466cbc27504ee0d4265d

Stacked Bars and Line Chart

0 stars0🌍 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.