{"version":"1.0","type":"rich","title":"Medicine Inventory Chart","description":"This example shows the quantity of five medicines in a bar chart, with yellow bars representing each inventory level and value labels placed above them. The implementation uses D3 v6 to build the SVG visualization, employing d3.scaleBand for the categorical x-axis, d3.scaleLinear for the y-axis, and d3.axisBottom and d3.axisLeft to render the chart axes. Static data is hardcoded in the HTML, and the chart includes rotated x-axis labels for readability. The code demonstrates core D3 data-joining patterns with selectAll, enter, and append to create the bars.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ff6b4de3e660451fb1f47315e8926d09?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}