{"version":"1.0","type":"rich","title":"Fork of Pie Chart for Electronic sales","description":"This D3.js (v7) visualization displays a pie chart of electronic product sales, with each slice representing a product category’s total revenue. The chart uses a custom legend showing category names, percentage of total sales, and sales values in thousands. The code fetches CSV data via `d3.csv`, computes pie segments with `d3.pie`, and renders them as SVG paths using `d3.arc`. Colors are assigned via `d3.scaleOrdinal`, and the legend and percentages are formatted using `d3.format`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/02700d07d6ae4a2aa6c8d0c42c892422?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}