Skip to main content
100%

Fork of Let's make a Bar Graph with D3.js

✓ Published1🌍 Public
RRadhakrishna246
Last edited Mar 5, 2022
Created on Mar 5, 2022

This bar chart ranks fruit sales in descending order along a vertical band scale, with horizontal bars extending proportionally to each fruit’s sales value. The visualization loads data from a CSV file, multiplies the sales figures by 10, and renders the result as an SVG using D3 v7. It employs `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the axes and rectangles, with fixed margins and a steely-blue fill for all bars.

AI-generated description
MIT Licensed

Similar vizzes