Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question 1.2

Public visualization

Activity6_Question 1.2

0 stars0🌍 Public
Ssaisnehapalle@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 4, 2024

This example shows a horizontal bar chart comparing the populations of 20 countries in 2010. The chart uses D3 scales to map data values to screen positions, with SVG rectangles representing each bar and the D3 `format` function converting large numbers into abbreviated labels. It is built with React components that render the axes and marks, and it loads data from a CSV file hosted on GitHub. The chart includes a blue axis grid and green bars, with tooltips displaying exact values.

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.

Comments

Sign in to join the discussion.

MIT Licensed