{"version":"1.0","type":"rich","title":"Styling of Bar Graph","description":"This example shows a horizontal bar graph comparing the population of ten countries, using a dataset loaded from a GitHub gist. The graph renders as an SVG in React, with bars and axes created through React components. It uses D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, along with `max` to compute the scale domain. The `csv` function from D3 loads and parses the data, which is managed with React’s `useState` and `useEffect` hooks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/deb0f4b8a87643d3bccfb257c9ad6144?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}