🌍 Public
Viewing a saved revision (read-only)
0b95cdb696c74a23b1b8dc66d14a6ee1
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.