Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
AAlain Jennotte
Last edited Jun 11, 2019
Created on Jun 11, 2019
Forked from Making a bar chart

A bar chart displays the GDP of ten countries, with countries on the y-axis and GDP values on the x-axis. The chart uses d3.scaleLinear for the x-scale and d3.scalePoint for the y-scale, rendering circles instead of bars via SVG. Axes are generated with d3.axisLeft and d3.axisBottom, while GDP labels are formatted using d3.format with a custom tick format. Data is loaded from a CSV file using d3.csv, and the visualization is styled with CSS for tick text and axis labels.

AI-generated description

Making a scatter plot

MIT Licensed

Similar vizzes