Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

TARUN_BOSUPALLY PieChart

Public visualization

Viewing a saved revision (read-only)

d1a948ff66d341b3836f92f460d79c4f

TARUN_BOSUPALLY PieChart

0 stars0🌍 Public
TTarun Kumar Bosupally
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Pie Chart

This pie chart visualizes the basic cost of Netflix in different countries, using a dataset loaded from a CSV file via `d3.csv`. It shows the top ten countries sorted by cost, with each slice representing a country’s monthly subscription price in dollars. The chart is rendered as an SVG using D3’s `pie` and `arc` generators, with colors assigned via `scaleOrdinal` and `schemeCategory10`. A legend lists each country, its color swatch, and the corresponding cost. The data is sorted descending before rendering, and the title “Basic Cost Of Netflix” appears above the visualization.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.