Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Multi Crypto - Market Capitalization per Month

Public visualization

Multi Crypto - Market Capitalization per Month

0 stars0🌍 Public
Ssenthilrajendran1
Last edited Apr 30, 2023
Created on Apr 6, 2023

This example visualizes the monthly market capitalization of four cryptocurrencies (BTC, AAVE, XMR, LTC) as a bar chart. Users select a cryptocurrency via radio buttons, which triggers a redraw of the chart filtered to that symbol. The visualization uses D3.js v6 to parse CSV data, aggregate values by year and month with `d3.rollups`, and render logarithmic-scaled bars with `d3.scaleLog` and `d3.axisBottom`/`d3.axisLeft`. The SVG output includes rotated date labels, axis titles, and a chart title. Data comes from a remote CSV hosted as a GitHub gist.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed