Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity_6_question-1.1

Public visualization

Activity_6_question-1.1

0 stars1๐ŸŒ Public
AAbrarb702@gmail.com
Last edited Oct 24, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This visualization displays a horizontal bar chart comparing the populations of ten countries in the year 2020, sourced from a CSV file hosted on GitHub. The example demonstrates how to integrate D3 v5 within a React component, using `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `format` for axis tick labels (e.g., converting billions to "B"). SVG rectangles render the marks, with tooltips showing precise values via the native `<title>` element.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed