Skip to main content
100%

Activity7_Question1

✓ Published2🌍 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.

MIT Licensed

Similar vizzes