DataViz

Build and visualize data structures in Golang. Inspired by the ideas from memviz and Gods this library helps user to play around with standard data structures while also giving them the tools to build their own data structures and visualization options....

Requirements

  • graphviz
    • build graphviz from source
    • linux users
      • sudo apt-get update
      • sudo apt install python-pydot python-pydot-ng graphviz
    • mac users (Link)
      • install homebrew
      • brew install graphviz

Installation

go get github.com/Arafatk/Dataviz

Data Structures

  • Containers
    • Lists
      • ArrayList
      • SinglyLinkedList
      • DoublyLinkedList
    • Stacks
      • ArrayStack
    • Maps
      • TreeMap
    • Trees
      • RedBlackTree
      • AVLTree
      • BTree
      • BinaryHeap
  • Functions
    • Comparator
    • Iterator
      • IteratorWithIndex
      • IteratorWithKey
      • ReverseIteratorWithIndex
      • ReverseIteratorWithKey
    • Enumerable
      • EnumerableWithIndex
      • EnumerableWithKey
    • Serialization
      • JSONSerializer
      • JSONDeserializer
    • Sort
    • Container
    • Visualizer

Usage and Examples

We have a blog post explaining our vision and covering some basic usage of the dataviz library. Check it out here.

  • Binary Heap
    Heap
  • Stack
    Stack
  • B Tree
    B Tree
  • Red Black Tree
    RBT

GitHub