Local Tool Visualizes Claude Code Session Data

A developer has created a tool that visualizes Claude Code usage data stored locally on your machine. The tool reads session data from ~/.claude/ and generates an interactive visualization in a single HTML file.
What the tool does
The visualization uses a scrollytelling approach with D3.js charts similar to R2D3-style presentations. It displays:
- Daily activity timeline
- Project breakdown
- Tool usage statistics
- Coding rhythm heatmap
If you've run /insights commands in Claude Code, the tool also visualizes your goals, outcomes, and friction points from those sessions.
Technical details
The implementation is minimal:
- Zero dependencies
- Just a Python script and a single HTML file
- No npm or build step required
- All processing happens locally on your machine
The tool was built entirely using Claude Code, according to the developer. The source is available on GitHub at github.com/aybidi/claude-code-visualizer.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code Hooks Implementation Project Covers All 23 Hooks
A developer has built a project entirely with Claude code that implements all 23 Claude code hooks, with a video explaining each hook's use case and a GitHub repository available.

Using a Local LLM as a Claude Code Subagent to Reduce Context Usage
A developer shares a method to use Claude Code to delegate tasks to a local LLM via LM Studio's API, keeping file content out of Claude's context. The approach uses a ~120-line Python script with tool-calling to read files locally and return summaries.

Claude Code v2.1.144: Background Sessions, /model Scoping, and 15s Startup Timeout
Claude Code v2.1.144 adds /resume for background sessions, scopes /model to current session only, and fixes a 75s startup hang when api.anthropic.com is unreachable with a 15s timeout.

Claude VS Code Extension Reasoning Effort Slider Sends Inconsistent Values
The reasoning effort slider in the Claude VS Code extension sends inconsistent numeric values to the model, with non-monotonic mapping where moving the slider up can send a lower number.