🌍 Public
Viewing a saved revision (read-only)
2a7a501264aa40c4914b5d7f871a4a6c
DV Assignment 2
This example shows a horizontal bar chart of application names against their number of users, sourced from a CSV file, with data limited to the first 50 records. The visualization uses React components and d3.scaleBand and d3.scaleLinear for scaling, while d3.max and d3.format handle data aggregation and tick label formatting. Bars are rendered as SVG rects with tooltips, and custom AxisBottom and AxisLeft components place ticks and labels. The CSV is loaded asynchronously with d3.csv, and styling is applied via CSS classes for ticks and marks.
AI-generated descriptionA demonstration of how to start using D3 version 6.