5 minutes read

Building an AI-Powered Design System for Web3 Analytics

How I designed and scaled a design system with an intelligent chart library that enables teams to spot users, filter bots, and make decisions they trust.

01 — Overview

The Challenge

Web3 analytics needed a new language. Traditional chart libraries couldn't handle blockchain data's unique complexity—wallet addresses, multi-chain transactions, temporal on-chain patterns, and real-time updates at scale.

When I joined the ARCx project, the team was building "Google Analytics for Web3" from scratch. But blockchain data doesn't behave like web traffic. Wallet addresses replace cookies, transactions replace clicks, and every data point connects to a permanent on-chain record spanning years.

The problem wasn't just building charts, it was creating an entirely new visual language for decentralized data.

02 — Research & Discovery

Understanding Web3 Data Complexity

I started by auditing existing analytics tools—Dune Analytics, Nansen, and traditional BI platforms. The pattern was clear: most tools either oversimplified blockchain data or overwhelmed users with complexity.

Key Research Findings

  • Temporal Depth

    Wallet addresses can be 5+ years old. Traditional 30-day windows don't capture the full story.

  • Multi-Chain Complexity

    Users interact across Ethereum, Polygon, and other chains simultaneously—visual distinction was critical.

  • Financial Context

    Every data point has monetary value. Net worth, transaction value, and gas costs needed first-class treatment.

  • Identity Persistence

    Unlike web sessions, wallet addresses are permanent. Cohort analysis needed to reflect long-term behavior patterns.

Key Insight

Users ≠ Wallets

A single person might control dozens of wallets. A single wallet might be a bot, a multisig treasury, or someone's main spending account. The platform needed to surface users, not just addresses, so teams could base product and marketing decisions on accurate, human-level analytics.

03 — Design System Architecture

Data Visualisation Colors

I architected the design system around three core principles: clarity, composability, and context-awareness. Every component needed to work independently while contributing to a cohesive analytical narrative.

Token-First Foundation

I established a semantic token system that mapped directly to blockchain concepts:

// Color Tokens for Data States
--color-chain-ethereum: #627EEA;
--color-chain-polygon: #8247E5;
--color-positive: #10B981;  // Growth, gains
--color-negative: #EF4444;  // Losses, churn
--color-neutral: #A0A0A0;   // Stable metrics

// Wallet Age Indicators
--age-new: 0-365 days
--age-established: 1-3 years
--age-veteran: 3+ years

This system allowed engineers to use semantic names like color-chain-polygon instead of arbitrary hex codes, ensuring consistency across all 12+ chart types.

Design Decision

Instead of showing absolute numbers, I used percentage-based color scales (100% = deep purple, 10% = light purple). This normalized comparison across cohorts of different sizes and made patterns immediately visible.

Palette 1

This palette is primarily used for stacked area charts and stacked bar charts where two shades of the same hue are needed to distinguish between related data series, for example, new vs. returning wallets within the same cohort.

Palette 2

This palette is used for pie charts, grouped bar charts, and any visualization requiring multiple distinct categories. Each color was tested for WCAG contrast compliance and perceptual distinctness across both light and dark modes.

04 — AI-Powered Charts Library

The Smart Chart System

The charts library became the heart of the design system. Rather than building static components, I designed context-aware visualizations that adapt based on data patterns.

Demographics

Breaks down wallet holders by on-chain attributes like net worth brackets, transaction frequency, and chain preference, so teams can understand who their users actually are, not just what they do.

Wallet Journeys

Visualizes the path a wallet takes from first interaction to power user, mapping key milestones.

Cohorts

Groups Wallets tracks how each cohort's engagement evolves over weeks and months.

Campaigns

Connects on-chain activity directly to marketing campaigns, showing which incentives (airdrops, quests, referral programs) drive real engagement versus one-time claimers.

Retention

Measures how many wallets return after their first interaction, broken down by time window. Color-coded heatmaps make it immediately clear where drop-off happens and which cohorts stick.

Engagement

Tracks depth of interaction like transaction count, unique contract calls, and active days per wallet.

05 — AI Integration

Machine Learning for Better Defaults

The breakthrough came when we integrated AI to automatically configure chart settings based on data patterns. Rather than forcing users to manually choose chart types and configure axes, the system learned from usage patterns.

Context-Aware Chart Suggestions

When a user uploads a dataset or creates a new view, the AI analyzes:

  • Data dimensionality: Single metric vs. multi-variate
  • Temporal distribution: Real-time, daily, or historical
  • Value ranges: Micro-transactions vs. whale activity
  • Categorical patterns: Chain distribution, cohort membership

Based on this analysis, the system recommends the optimal visualization—line chart for trends, bar chart for comparisons, heatmap for temporal patterns, or funnel for conversion flows.

Intelligent Color Assignment

One subtle but powerful AI feature: automatic color assignment that maintains consistency across sessions. The system remembers that "google.com" should always be orange, "twitter.com" should always be blue—even across different charts and timeframes.

This eliminated a major pain point: users no longer had to manually configure colors or decipher inconsistent legends.

Smart Chart Behaviors

Each chart component includes built-in intelligence for handling Web3 data:

  • Automatic Chain Detection: Charts recognize which blockchains are in the dataset and apply appropriate color coding without manual configuration.
  • Address Truncation: Wallet addresses automatically truncate to 0xa95...8c7 format with hover-to-reveal full address and copy functionality.
  • Value Formatting: Smart number formatting that switches between ETH, USD, and compact notation (1.2K, 45M) based on magnitude.
  • Temporal Awareness: Time-series charts automatically adjust granularity—hourly for recent data, daily for weeks, monthly for years.

06 — Prototype

Dashboard Overview

The main dashboard surfaces critical metrics at a glance while providing drill-down access to every chart in the system. The layout follows a progressive disclosure pattern:

  • High-level KPIs (active wallets, retention rate, engagement score) at the top
  • Trend charts and comparisons in the middle
  • Detailed breakdowns below the fold
  • Each card is a self-contained design system component, customizable per team

06 — Prototype

Retention Heatmap

A filterable, sortable view of every wallet interacting with a protocol designed to help analysts quickly separate power users from bots.

  • Accounts for wallets moving between cohorts over time
  • Handles multiple simultaneous cohort memberships per wallet
  • Captures long-tail retention patterns unique to Web3 (months and years, not days)
  • Percentage-based color scale makes drop-off points immediately visible

06 — Prototype

Wallets Overview

A filterable, sortable view of every wallet interacting with a protocol  designed to help analysts quickly separate power users from bots.

  • Columns surface key attributes: net worth, first seen date, chain activity, engagement score
  • Inline sparklines show 30-day activity trends without requiring a click-through
  • Batch actions let users tag, export, or segment wallets directly from the table

07 — Performance & Scale

Optimizing for Real-Time Blockchain Data

Web3 analytics operate at a different scale than traditional web analytics. A single popular dApp can generate millions of wallet interactions per day, and users expect real-time updates as on-chain events occur.

Performance Optimizations

  • Progressive Rendering: Charts render initial data in <200ms, then progressively enhance with animations and details
  • Data Downsampling: For large datasets (10K+ points), the system intelligently samples data while preserving statistical patterns
  • WebGL Acceleration: High-density charts (heatmaps, scatter plots) use GPU rendering for 60fps interactions
  • Lazy Loading: Chart components only load when scrolled into viewport, reducing initial bundle size by 40%

Real-Time Update System

The most technically challenging aspect was building real-time chart updates without sacrificing performance. When new transactions occur on-chain, charts needed to update smoothly without jarring redraws.

I designed a micro-animation system that transitions data points rather than replacing them:

  • New data points fade in with a subtle scale animation (150ms)
  • Existing points smoothly interpolate to new positions
  • Y-axis scales adjust with elastic easing for natural feel
  • Sparklines in metric cards pulse when values update

Micro-Interaction Principle

Every data update should feel like a natural evolution, not a disruptive replacement. The chart breathes with the data, creating a sense of living system rather than static reports.

09 — Impact & Results

Measurable Outcomes

A design system is only as good as its adoption. With 3 engineering teams and 8+ designers working on the platform, I needed to make the system effortless to use correctly and hard to use incorrectly.

Product Impact

  • User Engagement: Average session time increased 45% after chart system redesign
  • Feature Adoption: Cohort analysis usage jumped from 12% to 67% of active users
  • Customer Feedback: NPS score improved from 32 to 58 specifically for analytics features
  • Platform Scalability: System now handles 50M+ daily data points without performance degradation

Business Impact

  • Development Velocity: New feature development accelerated 3x with reusable components
  • Design Consistency: Eliminated 100% of brand inconsistency issues reported in user feedback
  • Team Satisfaction: Engineering team satisfaction with design handoffs increased from 6.2 to 8.9/10
  • Technical Debt: Reduced chart-related bug reports by 73% through systematic approach

The Multiplier Effect

By investing 6 months in building a robust design system, we unlocked years of compounding efficiency. Each new feature now ships 3x faster, with 95% fewer iterations, and maintains perfect visual consistency across the entire platform.

10 — Lessons Learned

What I'd Do Differently

A design system is only as good as its adoption. While working on the platform, I needed to make the system effortless to use correctly and hard to use incorrectly.

1.

Start with Design Tokens Earlier

Initially, I built components first and extracted tokens later. This created refactoring work. In retrospect, establishing the token system first would have saved 3 weeks of rework.

2.

Invest in Automated Testing from Day One

Visual regression testing was added in month 4. The earlier we had caught inconsistencies automatically, the faster we could have moved with confidence.

3.

Document Design Decisions

The documentation site explained "how" to use components, but not "why" design decisions were made. Adding design rationale helped teams make better contextual decisions.

4.

Build a Contribution Model Early

I should have established a clear contribution and governance process from the start — how to propose new components, how changes get reviewed, and how tokens get updated.