{"version":"1.0","type":"rich","title":"Styled Bar Chart woth React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by population in 2020, with each bar labeled with its country name and a formatted x-axis displaying population in billions. The React components `Marks`, `AxisBottom`, and `AxisLeft` render SVG rectangles and tick marks, while the custom `useData` hook fetches the CSV via `d3.csv` from a GitHub gist. Styling uses CSS classes with the Poppins font, and D3’s `scaleBand` and `scaleLinear` handle the coordinate mappings, with `d3.format` applied to abbreviate tick labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4febf8dae7d74b60b1ad46ed13e9203c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}