Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Piechart ICE - 7

Public visualization

Piechart ICE - 7

0 stars0🌍 Public
Vvamshisoletii
Last edited Mar 13, 2023
Created on Mar 12, 2023

This interactive D3.js visualization displays a pie chart of insurance policy numbers against their corresponding insured values. The chart partitions a circle into colored slices, each representing a policy, with the slice size proportional to the insured value, and labels each slice with its value. A legend on the right maps the slice colors to policy names and values. The implementation uses D3’s `pie`, `arc`, and `scaleOrdinal` APIs, reading data from a remote CSV file. Rendering is done via SVG, with data processed through the `d3.csv` function, and includes custom styling for the legend text and labels.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed