{"version":"1.0","type":"rich","title":"pie","description":"This pie chart compares the number of high-price days (above $100) versus low-price days in Apple’s stock history. The code loads CSV data from a Plotly-hosted dataset, counts occurrences in each category, and renders an SVG pie chart using d3.pie and d3.arc. A d3.scaleOrdinal with d3.schemeCategory10 assigns colors to the two slices, and labels are positioned at each arc’s centroid via arc.centroid. A legend is built with plain HTML divs, replicating the slice colors. The chart is minimal, showing only the split between two price thresholds without additional axes or time detail.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/59c3d4d02de444d0b76dd7963a4537bf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}