Skip to main content
100%

Fork of Fork of Activity 6_Task 1

✓ Published1🌍 Public
LLakshmiPrasannaValdas@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example displays a horizontal bar chart of the 2010 population for about twenty countries, from a CSV file accessed via a URL. Built with React and D3 v5, the SVG visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The marks are rectangles, and the code includes custom components for axes and tooltips, using D3's `format` function to abbreviate population values. The chart is rendered with a green fill for bars, and its styling is defined in the accompanying HTML.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes