Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a barchart

Public visualization

Viewing a saved revision (read-only)

e9b12013863f4e18aacda073bc3d9cc5

Fork of Making a barchart

0 stars0🌍 Public
DDharmendra Puri
Last edited Jan 3, 2021
Created on Dec 28, 2020
Forked from Making a barchart

This example shows the distribution of six named outcomes, from "Immature" to "Undeveloped," each mapped to a percentile value loaded from a CSV file. The horizontal bar chart uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` with padding for the y-axis, rendering bars as SVG rectangles. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, and the data is parsed by converting percentile strings to numbers before rendering.

AI-generated description