vialab / hmatrix-vis

H-Matrix visualization for cross-linguistic effects analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

H-Matrix visualization

H-Matrix visualization for cross-linguistic effects analysis

More info at: http://vialab.science.uoit.ca/portfolio/hmatrix

To change the data on the H-Matrix view

You will ned to add your data on server/hmatrix-data.js

To setup a MySQL database

Create server/dbConfig.json file for authentication Template:

{
  "host"     : "localhost",
  "user"     : "user",
  "port"     : port,
  "password" : "password",
  "database" : "dbname"
}

Notes

  • The server-side express functions are located at server.js.
  • The matrix visualization is at public/matrix.html
  • Most functionalities are at public/js/tree.js > drawTree()
  • In the server.js, the post API point /loadMatrix does most of the aggregating and pre-processing of the data for the visualization.

About

H-Matrix visualization for cross-linguistic effects analysis


Languages

Language:JavaScript 91.3%Language:HTML 8.0%Language:CSS 0.6%Language:SCSS 0.1%Language:Dockerfile 0.0%