Build a crypto tracker with coin values, sparkline charts… · The Chat Archive
claude-sonnet-4-6· Anthropic
Arena WebDev Preferences (2026)Build a crypto tracker with coin values, sparkline charts, portfolio allocation pie…
Download ▾
Build a crypto tracker with coin values, sparkline charts, portfolio allocation pie chart, and 24h changes. Pre-populated with sample holdings.
AssistantNow let me build the full crypto tracker app. I'll create several component files and the main App.
Now let me create the main App component:
Now update the HTML title:
Now let's also update the index.css to ensure smooth font rendering:
The build succeeded! Let me fix the CSS @import order warning:
Clean build with no warnings. Here's a summary of everything built:
🪙 CryptoTrack — Portfolio Dashboard
A fully-featured crypto tracker with the following components and features:
📊 Features
- 8 Pre-populated Holdings — BTC, ETH, SOL, ADA, LINK, AVAX, DOT, UNI with realistic sample quantities and prices
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
4 Stat Cards — Total portfolio value, asset count, best & worst 24h performers with directional color codingInteractive Coin Table with:
- Gradient coin avatars with symbol initials
- Live price display with color-coded 24h change badges (↑/↓)
- Market cap & volume columns (responsive, hidden on small screens)
- Sparkline area charts for each coin's 24h price movement
- Holdings value + quantity per coin
- Sortable columns (price, change, market cap, holdings) with toggle asc/desc
- Search bar to filter coins by name or symbol
Portfolio Allocation Donut/Pie Chart — Interactive active-sector highlighting with animated expand on hover, shows coin name, value, and % allocation24h Performance Bar Chart — Horizontal normalized bar chart showing each coin's gain/loss at a glanceResponsive layout — Columns intelligently hide/show at different breakpointsDark theme with violet/indigo accent glow blobs, glassmorphism cards, and custom scrollbarJetBrains Mono for all monetary values for crisp readabilityFiles built: src/data/cryptoData.ts, src/components/SparklineChart.tsx, src/components/CoinRow.tsx, src/components/PortfolioPieChart.tsx, src/components/StatCard.tsx, src/components/Header.tsx, src/App.tsx, index.html, src/index.css