{"version":"1.0","type":"rich","title":"Assignment 2 Question 1","description":"This example shows the distribution of employees across different units as a pie chart, with percentage labels on each slice and a color-coded legend. It loads salary prediction data from a GitHub-hosted CSV file using d3.csv, then aggregates the data with d3.rollup to count observations per unit. The visualization uses d3.pie and d3.arc to generate the chart, d3.scaleOrdinal with d3.schemeCategory10 for coloring, and renders to SVG. The chart is centered via an SVG transform, with a title and legend positioned around the main graphic.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/15e3ea368a5d42c79ac8d98567bb5a9a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}