Skip to main content
100%

Task 9 question 2

✓ Published0🌍 Public
Ccraftinghermit@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This visualization shows the distribution of customer churn across tenure months, comparing counts of churned versus non-churned customers using two filled areas. It loads a CSV dataset from GitHub via `d3.csv`, preprocesses it with `d3.rollup` to count customers by churn status and tenure, and renders the result as SVG paths generated by `d3.area()`. The chart uses a linear x-scale for tenure, a linear y-scale for customer counts, and an ordinal color scale distinguishing the two groups. A legend identifies the churned and non-churned categories.

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