Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

bb50dee68e3e468f8ce3a18bb31c7b7b

ICE - 7 Pie Chart

0 stars1🌍 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