Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. D3
  3. codeflower

codeflower

MITJavaScript

Interactive source code visualization tool that represents files as proportional discs in a tree layout using d3.js.

Visit WebsiteGitHubGitHub
706 stars313 forks0 contributors

What is codeflower?

CodeFlower is an open-source visualization tool that creates interactive tree diagrams of source code repositories. It represents each file as a disc sized by lines of code, allowing developers to visually explore project structure and file proportions directly in the browser.

Target Audience

Developers, software architects, and educators who need to quickly understand or present the structure and scale of codebases.

Value Proposition

It provides an intuitive, client-side visual overview of repositories without server processing, leveraging d3.js for rich interactivity and aesthetic appeal.

Overview

Source code visualization utility written in JavaScript with d3.js. Does your code look beautiful?

Use Cases

Best For

  • Visualizing the structure of open-source repositories
  • Identifying large or complex files in a codebase
  • Creating interactive demos of project architecture
  • Educational presentations on code organization
  • Quickly assessing repository composition without deep diving
  • Comparing file size distributions across projects

Not Ideal For

  • Teams needing real-time code analysis or dynamic updates to visualizations
  • Developers seeking detailed dependency mapping or code quality metrics
  • Projects requiring seamless integration with CI/CD pipelines or version control systems
  • Users who prefer pre-built, production-ready tools with active support

Pros & Cons

Pros

Interactive Exploration

Zoomable, clickable tree diagrams enable intuitive navigation of repositories, as demonstrated in examples like jQuery and Twig on the project website.

Proportional Visual Scaling

Disc sizes scale directly with lines of code, instantly highlighting large files such as in the uptime and faker visualizations from the README.

Client-Side Efficiency

Runs entirely in the browser using d3.js, eliminating server dependencies and allowing for local, private analysis of codebases.

Established Inspiration

Built on proven concepts from Code Swarm and Gource, ensuring reliable visualization paradigms for source code representation.

Cons

Outdated Maintenance

The project is labeled as an experiment with no recent updates, risking compatibility issues with modern browsers or newer d3.js versions.

Complex Data Preparation

Requires manual conversion of repositories to a specific JSON format, lacking built-in tools for automatic data extraction from Git or other sources.

Limited Feature Set

Focuses only on file structure and size, omitting features like dependency visualization, code metrics, or real-time updates, as hinted by the separate DependencyWheel project.

Frequently Asked Questions

Quick Stats

Stars706
Forks313
Contributors0
Open Issues14
Last commit9 months ago
CreatedSince 2013

Tags

#interactive-diagrams#client-side-rendering#d3-js#source-code-analysis#javascript#code-visualization#open-source-tools#tree-visualization

Built With

D
D3.js
J
JavaScript

Links & Resources

Website

Included in

D35.3k
Auto-fetched 1 day ago

Related Projects

mermaidmermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

Stars88,933
Forks9,080
Last commit2 days ago
d3-cloudd3-cloud

Create word clouds in JavaScript.

Stars3,946
Forks1,060
Last commit3 months ago
graph-scrollgraph-scroll

scrollers > steppers

Stars518
Forks50
Last commit6 years ago
d3.sketchyd3.sketchy

A tool to create sketchy backgrounds, shapes and lines

Stars247
Forks12
Last commit11 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub