Skip to main content
100%

Making a bar Chart

✓ Published0🌍 Public
MManinder Singh
Last edited May 2, 2020
Created on May 2, 2020

This SVG bar chart displays the relationship between two variables from the file data.csv, with bar heights proportional to the data values. The visualization is built using D3 version 5, where a single SVG element of 960 by 500 pixels is selected via the d3.select method, and its dimensions are parsed with parseFloat and the unary plus operator. The data is loaded asynchronously using the d3.csv function, and the chart is rendered in an HTML page that links to the D3 library from a CDN.

AI-generated description
MIT Licensed

Similar vizzes