{"version":"1.0","type":"rich","title":"Making a Bar Chart with React & D3","description":"This example shows a horizontal bar chart of population data for the top 10 countries in 2020, rendered as SVG using React components. It loads data from a CSV via `d3.csv` in a custom `useData` hook, then uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `format` to abbreviate tick labels (e.g., converting \"G\" to \"B\"). The chart includes custom axis components and rect marks with built-in tooltips.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/64ecba50a29a4a0796659dcfd393eb45?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}