{"version":"1.0","type":"rich","title":"Assignment 2 Piechart","description":"This pie chart visualizes the sales distribution of four tech products—Laptops, Smartphones, Tablets, and Desktops—using a static SVG rendering. The chart shows percentage labels on each slice and includes a legend that maps colored rectangles to product names and their corresponding sales percentages. The code utilizes D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the pie geometry and color mapping, with values computed from a hardcoded dataset. The visualization, built within a React framework, displays the chart centered with a red title and legend positioned to the right.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/79f69da826ba46a1b4a565a9e190bb7b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}