Skip to main content
100%

ICE-6 Encoding Data with Marks and Channels Mulit-series

• Draft0🔗 Unlisted
KKeith Miller
Last edited Mar 9, 2026
Created on Mar 7, 2026
Forked from D3 Starter

This multi-series line chart visualizes how average credit amount, age, and installment commitment vary with loan duration, using normalized values to compare three metrics on a single axis. The D3.js v7 code loads a CSV dataset from a GitHub gist, aggregates records by duration, and applies min-max scaling to each series. Three separate line paths, colored blue, green, and an additional series, are drawn using d3.line and d3.scaleLinear, with axes generated via d3.axisBottom and d3.axisLeft. The chart renders as an SVG, with data aggregation performed through d3.rollups and d3.mean.

AI-generated description
MIT Licensed

Similar vizzes