Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

9c21f777846f45808b69c099fbae012c

Fork of Pie Chart

0 stars4🌍 Public
Ppriyankachary1701@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025
Forked from HTML Starter

This pie chart visualizes the total borrow count by genre, with each slice's size proportional to the genre's cumulative borrows from the Library_book.csv dataset. The chart displays a legend to the right of the visualization, listing each genre with its corresponding total value. Built with D3 v7, the code uses `d3.pie` to compute slice geometry, `d3.arc` for path rendering, and `d3.rollup` to aggregate the data by genre. The visualization is rendered as an SVG, with slices filled using a concatenated color scheme of `schemeTableau10` and `schemeSet3`.

AI-generated description