{"version":"1.0","type":"rich","title":" Activity 7 Q1 Pie Chart - using HR data analysis ","description":"This pie chart visualizes training costs by division, aggregating individual employee records from a CSV file into total spending per division. The chart renders as an SVG using D3 v7’s `pie()` and `arc()` generators, with `scaleOrdinal` and `schemeCategory10` assigning colors to each division slice. Division names appear on the slices via `arcGen.centroid`, while a separate title labels the chart. The data is loaded asynchronously with `csv()`, summed through a `Map` reduce, and the visualization fills the full browser window.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d1de09aa8a06424388fc317c04422f59?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}