{"version":"1.0","type":"rich","title":"Retail sales bar chart","description":"This visualization is a horizontal bar chart comparing the total sales amounts for the top ten product categories from a retail transaction dataset. The chart is built using D3.js version 7 within a React application, employing a data join approach to render and update the SVG elements. The bars are colored teal, with a clickable red highlight for a selected category. It uses `scaleLinear` and `scaleBand` for the axes, and `axisBottom` and `axisLeft` for the tick marks, with the data loaded from a local `data.csv` file and aggregated using `d3.rollups`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2e277d66a2d048cb892eb32525afd7d3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}