{"version":"1.0","type":"rich","title":"Rendering Marks and Channels with React & D3","description":"This visualization displays a horizontal bar chart of extinct animal races, ranking the top 20 countries by a numeric count. The bars are rendered as SVG rectangles using React, with the chart constructed through D3's `scaleBand` and `scaleLinear` functions to map data to positions. The code loads CSV data from a GitHub gist, then uses D3's `csv` parser and React's `useState`/`useEffect` hooks to manage the data loading and rendering lifecycle. Axis ticks and labels are manually created as SVG elements within a translated group.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7786c19fda8c436caaba1e9e0d9f515d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}