activity7 question2
✓ Published0🌍 Public
This example visualizes customer churn from a Telco dataset, showing the distribution of customer tenure (in months) split by churn status. Two overlapping area charts compare the counts of churned versus non-churned customers across tenure durations. The visualization loads data via `d3.csv`, preprocesses it using `d3.rollup`, and renders SVG areas with `d3.area`, scaled axes via `d3.scaleLinear`, and an ordinal color scale. A legend distinguishes the two categories, with labels applied directly to the chart.
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