🌍 Public
Fork of Task8_Tutorial(1.2)
This example shows a horizontal bar chart of the 20 most populous countries in 2010, with country names on the y-axis and population counts on the x-axis. The visualization uses React to render SVG elements, with D3 v5 scaleBand and scaleLinear for axes and bars. Data is loaded from a CSV via d3.csv, and the code implements custom AxisBottom, AxisLeft, and Marks components to display the chart with blue tick lines and green bars.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed
Comments
Sign in to join the discussion.