Skip to main content
100%

third

✓ Published2🌍 Public
119h61a05c9@cvsr.ac.in
Last edited Nov 10, 2025
Created on Nov 10, 2025
Forked from D3 Starter

This interactive D3.js network graph maps an ecosystem hierarchy, showing continents connected to their resident species, with node size encoding average weight and color distinguishing root, continent, and species levels. Built with d3.v7, the visualization uses d3.forceSimulation with link, charge, center, and collide forces for physics-based layout, while d3.scaleSqrt and d3.scaleOrdinal manage proportional sizing and color coding. Users can drag nodes to reposition them and hover over elements to inspect species details like lifespan, habitat, and diet, with data parsed from CSV via d3.csvParse.

AI-generated description

Ecosystem Network Visualization

An interactive D3.js visualization displaying the relationships between continents, species, and their traits.

Features

  • Interactive Network Graph: Drag nodes to explore relationships
  • Color-Coded Levels: Root (yellow), Continent (green), Species (orange)
  • Node Sizing: Proportional to average weight
  • Hover Details: View comprehensive species information
  • Force Simulation: Physics-based layout for optimal positioning

Project Structure

  • index.html - Main HTML file
  • styles.css - Stylesheet
  • index.js - Entry point (ES6 modules)
  • data.js - Dataset management
  • network.js - D3 network visualization logic

Running

Open index.html in a modern browser or serve locally with a web server.

MIT Licensed

Similar vizzes