Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8_Q3)

Public visualization

Viewing a saved revision (read-only)

4e656491f9e84a13bcf07b3875bac99e

Task8_Q3)

0 stars1🌍 Public
Mmulyasuji999@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This scatter plot visualizes each country's population in 2024, with countries on the y-axis and population on the x-axis. It uses the D3.js library (v7) to load data from a CSV file, then renders circles with colors from `d3.schemeCategory10`. The visualization includes interactive hover effects that enlarge the dots and display the country name, alongside axes, and a legend built from the categorical colors. The plot uses `d3.axisBottom` and `d3.axisLeft` for the axes and is rendered as an SVG element.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.