Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Question1

Public visualization

Viewing a saved revision (read-only)

a7280ae6483945aca94a3a1bb803f6d4

Activity7_Question1

0 stars2🌍 Public
Kkandooriabhiram@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity_7

This pie chart visualizes browser usage statistics, with each slice sized by usage percentage and labeled with the browser name. The visualization is rendered as SVG using D3 v7, employing `d3.pie` and `d3.arc` to construct the chart, and `d3.scaleOrdinal` with `d3.schemeCategory10` for categorical coloring. Data is loaded from a remote CSV file via `d3.csv`, and a legend displays each browser name and its corresponding usage value. Text labels are placed using arc centroids, with the chart centered within a 600x400 SVG canvas.

AI-generated description

This code gives the pie chart visualization of browser usage.