actvity 7 .1 q1
✓ Published0🌍 Public
A pie chart displays the distribution of customer churn, categorizing data into two segments with a legend and percentage labels. The visualization uses D3.js v6 to fetch a CSV dataset from GitHub, processes the data with d3.rollup and d3.sum, and renders the chart using d3.pie and d3.arc. Interactive tooltips appear on mouseover, showing category and count, with colors and white text for contrast.
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