Fork of Making a Barchart
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub.
MIT Licensed