Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 1

Public visualization

Viewing a saved revision (read-only)

ea14e2943dfb478398f77ebe40c32193

Activity 6 task 1

0 stars0🌍 Public
Vvenkatabhaskaratetali@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity6_Task3

This visualization displays the populations of 20 countries in 2010 as a horizontal bar chart. Using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numeric x-axis, the React-rendered SVG bars are color-coded green with a tooltip showing the formatted population value. The code loads CSV data via d3.csv, applies a custom tick format that converts gigabytes to billions, and includes axis components for labeled ticks.

AI-generated description

A demonstration of how to start using D3 version 6.