Fork of Pie Chart
✓ Published4🌍 Public
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 descriptionMIT Licensed