{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example creates a static bar chart using D3 v7, displaying categorical data as vertical bars with labels. The visualization uses `d3.scaleBand` for the x-axis positioning and `d3.scaleLinear` for the y-axis scale, with bars rendered as styled SVG `rect` elements. The code employs `d3.max` to compute the domain, `d3.axisLeft` and `d3.axisBottom` to generate axes, and `d3.select` with data binding to append the shapes. A hardcoded local array provides the dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f6d5558f93ad420c942d85b3328bd9c0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}