{"version":"1.0","type":"rich","title":"Bar graph","description":"This example shows a horizontal bar graph that compares the protein content of various food items, with each item’s name on the y-axis and protein grams on the x-axis. The visualization uses React to manage the component state and D3 v6 scales (`scaleBand`, `scaleLinear`) and axes (`axisBottom`, `axisLeft`) to render the SVG chart. Data is loaded asynchronously from a CSV file using D3’s `csv` method, and bars are drawn as SVG rectangles with a fixed color.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/921e3074accb4988a8bd89cc7dd8a50c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}