🌍 Public
Fork of Let's make a Bar Graph with D3.js
This horizontal bar chart displays sales figures for ten retail item categories. The visualization loads data from a CSV file and renders it as an SVG. Using D3.js version 7, the code employs `scaleLinear` and `scaleBand` for the x and y axes, respectively, and `axisLeft` and `axisBottom` to generate the tick marks. Each category's bar length corresponds to its sales value, with the chart including axis labels for both dimensions.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.