{"version":"1.0","type":"rich","title":"Project - Horizontal Bar Chart for Total Profit of Sub-Category Product (Using React Tool and d3.js)","description":"This example shows a horizontal bar chart of total profit across product sub-categories, with blue bars on an SVG canvas and labeled axes. It loads CSV data from a GitHub gist using `d3.csv`, processes the profit values with a row function, and renders the chart in React. The visualization uses `scaleBand` for the categorical y-axis, `scaleLinear` for the profit-driven x-axis, and generates gridlines and tick labels via `xScale.ticks()`. Axis labels and bar rectangles are positioned through SVG `<g>` and `<rect>` elements within a React component.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0b869b9e43d047f0ae11a3bf8732e74b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}