Skip to main content
100%

Fork of Akhil -vizhub assignment bat-scatter

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

This bar chart visualizes the relationship between card categories (face and suit) and their associated values, with the horizontal axis representing price and the vertical axis displaying categorical labels. The visualization encodes data through bar length, where longer bars indicate higher sales or price values. The chart uses React with hooks (useState, useEffect) to parse CSV data fetched from a GitHub gist, while D3 v5 provides the scales (scaleBand, scaleLinear) and axes (axisBottom, axisLeft). The code renders SVG rectangles for each bar, with gridlines extending across the plot area. The data is processed by splitting the raw CSV text, which appears to contain card descriptions and numerical values.

AI-generated description
MIT Licensed

Similar vizzes