Skip to main content
100%

Fork of Akhil -vizhub assignment bat-scatter

✓ Published0🌍 Public
MM
Last edited Mar 19, 2024
Created on Mar 18, 2024

This bar chart visualizes the distribution of playing cards from a CSV dataset, mapping each card’s face and suit to a categorical y-axis and its numeric value to a linear x-axis. The chart uses steelblue rectangles to encode the value, with black strokes for clarity. Built with React and D3 v5, the code employs `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and renders axes via `axisBottom` and `axisLeft`. The data is fetched from a remote CSV, parsed locally, and rendered as SVG, providing a straightforward comparison of card values.

AI-generated description
MIT Licensed

Similar vizzes