Skip to main content
100%

Cost Analysis

✓ Published0🌍 Public
Zzhu
Last edited Aug 1, 2020
Created on Jul 31, 2020
Forked from Cost Analysis

Two side-by-side pie charts compare one-year versus ten-year cost breakdowns for categories including Blue-light and Security Guard, using data loaded from CSV files. The D3 v5 code builds an SVG visualization with a title, and the charts are rendered using `d3.pie` and `d3.arc` with labels generated via `arcLabel.centroid`. A color scale from `d3.scaleOrdinal` and `d3.schemeAccent` distinguishes categories, while text elements display names and dollar values on each slice.

AI-generated description
MIT Licensed

Similar vizzes