Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0🌍 Public
AAnissa Belkelfa
Last edited Nov 30, 2022
Created on Nov 29, 2022

This radial bar chart displays the values of a single numeric variable for each country in a dataset loaded from a CSV file. Each bar extends outward from a central inner radius, with its length proportional to the country’s value, and labels are rotated around the circle for readability. The visualization uses d3.scaleBand for angular positions, d3.scaleRadial for radial distances, and d3.arc to draw the bar segments as SVG paths. The chart is rendered in an SVG container, with margins and dimensions defined in the script.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed