Task 9 question 2
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed