{"version":"1.0","type":"rich","title":"Online Sales for Purchase value","description":"This horizontal bar chart displays the number of purchases made for various purchase value categories, limited to the top 15 categories from a CSV of online customer sales. The chart uses React to manage state and render the SVG, while D3 v5 functions like `scaleBand`, `scaleLinear`, `max`, and `csv` handle data loading, scaling, and axis generation. Axes are drawn with D3's `ticks` and custom grid lines, with the x-axis representing purchase counts and the y-axis listing purchase values. The visualization highlights an inverse relationship, where lower purchase values correspond to higher purchase counts.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d710346b6aea4e4aaa86d3c9ff2354d1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}