Skip to main content
100%

DV Assignment 2

✓ Published1🌍 Public
NNagateja99
Last edited Jul 22, 2023
Created on Jul 22, 2023

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes