Fork of Rendering Data with React & D3
This visualization displays a horizontal bar chart of 2020 population estimates for countries, rendered as SVG using React and D3 v5. It loads CSV data from a GitHub gist via D3’s `csv` utility, then maps the parsed data to `rect` elements. React handles the UI state and component structure, while D3’s `scaleBand` and `scaleLinear` position the bars, and `max` computes the domain. The visualization updates once the asynchronous data fetch completes, initially showing a loading message.