Activity 7
✓ Published0🌍 Public
This pie chart visualizes the maximum life expectancy of different car models. The D3.js code loads CSV data from a GitHub gist, processes values, and renders an SVG pie chart with labeled segments and a color-coded legend. It uses D3's `pie`, `arc`, `scaleOrdinal`, and `select` APIs, with text labels positioned via `arcGenerator.centroid`. The chart's title is "Max_life expectency of cars".
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