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)

8394b25b78ca45c4aa059ca0571a90a3

Fork of Making a Barchart

0 stars0🌍 Public
VVineela Reddy
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from Making a Barchart

This example displays a bar chart of blood pressure by patient age, using medical data from a CSV file with diabetes-related measurements. The visualization maps age to the x-axis with a linear scale and blood pressure to the y-axis with a band scale, rendering steel-blue rectangles. The code uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom to generate the axes, all drawn as SVG elements within a fixed-width container.

AI-generated description

An example showing the capabilities of VizHub.