Skip to main content
100%

ICE - 7 Pie Chart

✓ Published1🌍 Public
PPYATA SHARAN
Last edited Mar 11, 2023
Created on Mar 11, 2023

This pie chart visualizes the cost of F1 TV Pro subscriptions across different countries, with each slice labeled with its price in US dollars and accompanied by a color-coded legend. The visualization is built using D3.js v5, fetching CSV data from a GitHub gist and rendering it as SVG. The code uses `d3.pie` to compute arc angles, `d3.arc` for path generation, and `d3.scaleOrdinal` to map costs to a fixed palette. The legend is manually positioned, and all text labels use `d3.format` for numeric formatting.

AI-generated description
MIT Licensed

Similar vizzes