{"version":"1.0","type":"rich","title":"Fork of ICE-6: Rendering Marks and Channels with React & D3","description":"This example visualizes the first 20 rows of a COVID-19 dataset, comparing countries by their population using a horizontal bar chart rendered with React and D3. It shows population values as the bar length and country names as the categorical y-axis labels, with a linear x-axis for the population scale. The code uses React hooks like `useState` and `useEffect` to fetch and parse the CSV data via `d3.csv`, then applies `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Grid lines are drawn as SVG elements, and bars are rendered as `rect` marks, with axes and ticks manually positioned using D3’s scale methods.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ced16525e2dd4fc7927c0a0506fa1b36?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}