{"version":"1.0","type":"rich","title":"Creating a Bar Chart with D3.js","description":"This example shows a bar chart of Walmart’s weekly sales per store, using bar height to encode the sales amount and the x-axis to identify each store. The code loads a CSV dataset from a GitHub URL and renders the chart as SVG elements. It uses D3.js v5 with `d3.csv`, `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft`, while React manages the page structure. The visualization also rotates the x-axis labels for readability and uses maroon bars to represent the sales values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dd7dd9d8826a43f284a06977adbea419?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}