Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Ogelo - Horizontal Bar Chart

Public visualization

Viewing a saved revision (read-only)

48186a089a4a496ca9345ddaa88f7105

Fork of Ogelo - Horizontal Bar Chart

0 stars0🌍 Public
AAugustine Ofoegbu
Last edited Jan 13, 2023
Created on Jan 13, 2023
Forked from Hello VizHub

This example visualizes the top five KEGG pathways by p-value as a horizontal bar chart, using steel-blue rectangles to represent each pathway’s significance score. The chart is rendered as a dynamic SVG with React, scaling bar widths via `d3.scaleLinear` and positioning rows with `d3.scaleBand`. Data is hardcoded in the component rather than loaded from CSV, though a commented `d3.csv` call referencing the United Nations Population dataset is present. The code uses React hooks (`useState`, `useEffect`) to manage state and render the visualization.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.