Skip to content

KalevRK/heap-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heap-visualizer

A heap visualization program using d3.js.

Authors: Katrina Uychaco & Kalev Roomann-Kurrik

Tasks

  • Setup initial HTML and JS files
  • Create Heap class
  • Create insert method on Heap class
  • Create removeMax method on Heap class
  • Function to convert Heap storage array into nested object format needed for d3 tree visualization
  • Create d3 tree layout visualization of Heap
  • Rotate d3 tree layout visualization to be vertical
  • Update d3 tree layout visualization based on state of Heap storage array
  • Update d3 tree layout visualization on every step of the insert method on the Heap class
  • Update d3 tree layout visualization on every step of the removeMax method on the Heap class
  • Add form to allow user to insert values into Heap
  • Add button to allow user to remove max value from Heap
  • Add test suite