Giter Site home page Giter Site logo

0xadriatorralba / datavisualizationinlinguistics Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 6.11 MB

This is a project about a Colaboration with the Mathematics and Computer Science Department from the Universitat de Barcelona regarding Data Visualization in Linguistics

Python 92.34% HTML 7.66%

datavisualizationinlinguistics's People

Contributors

0xadriatorralba avatar

Watchers

 avatar  avatar  avatar

datavisualizationinlinguistics's Issues

[T1][H] Zoom to fit

  • Center the graph
  • Bug with some graphs wider than tall
  • Scale the graph to fit the canvas
  • Sum the radius of the upper and lowest nodes (so they are not cut in the zoom scale)

[T2-6][Radial]

Sizes

  • Change node size proportional to quantity of children
  • Show icon of a news article in root node

Targets and features

  • Scale associated images to the node (those who are centered in the node)
    • Features: trivial cheese on node, all in one: bubble, circle, rectangle
    • Targets: icons outside the node, rings on the node, icons on the node
  • Displace targets and features outside of the node

Opacities

  • Bug OR (if nothing is selected, highlight all nodes and edges)
  • Highlight edges whose both endpoints are highlighted

[T2-6][Force]

Sizes

  • Change node size proportional to quantity of children

Targets and features

  • Position features radially
  • Scale associated images to the node (those who are centered in the node)
    • Features: trivial cheese on node, all in one: bubble, circle, rectangle
    • Targets: icons outside the node, rings on the node, icons on the node
  • Displace targets and features outside of the node

Opacities

  • Bug OR (if nothing is selected, highlight all nodes and edges)
  • Highlight edges whose both endpoints are highlighted

[T5, T6][H] Opacities

T5: Initial highlighting in OR

  • Create functions to highlight by categories and add attribute d.highlighted
  • Create function to call individual OR functions to highlight. If nothing is selected: set nodes and edges to normal.
  • Create function to call individual AND functions to highlight. If nothing is selected: set nodes and edges to normal.

T6: Highlight edges just if both endpoints are highlighted

  • Filter nodes whose both endpoints are highlighted

[T3][H] Size of associated images proportional to node

Resize

  • Targets: rings on the node
  • Features: trivial cheese on node
  • Features: all in one circle

Reposition and replace

  • Targets: icons on the node

Displace

  • Target: icons outside the node
  • Features: dots

Supposed to disappear

  • Features: trivial cheese outside node

[T2a][H] Change node size

Hierarchical

Make node size proportional to the quantity of children.

  • Add parameter radius to each node.
  • Show nodes with radius proportinal.
  • Add separation between nodes not collapsed.
  • Show root node with an icon.
  • Limit radius of root node to avoid overlapping its children

Questions:

  • How does the user now know that the node is collapsed? Should we change the colour of the node or they can guess with the tooltip?
  • For nodes with one children collapsed or not, which radius do they want?

[T7][H,R,F] Opacity of unhighlighted nodes and edges

Opacity vs change of colour

  • Create an image with background colour (#EEEEEE).
  • Select all classes associated with the node (to unhighlight) except the circleBackground
  • Add it to the node with position and z-index and show it when the node is unhighlighted
  • Remove background image when the node is not unhighlighted

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.