🌍 Public
Viewing a saved revision (read-only)
5b592dd95a1e48c29242e28be607ccaa
task3_Question3
This example displays a scatterplot of Midwest counties, plotting the percentage of residents below the poverty line against the percentage with a college education. Each county appears as a colored circle, with hover tooltips revealing the county and state names via d3-tip. The code loads a local CSV file and uses D3 v4 scales, axes, and transitions to animate the circles into place. SVG elements render the chart, and an ordinal color scale distinguishes each data point.
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.