-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tree-like visualisation of the taxonomy #4
Comments
I attach a tree-like visualization of the AudioSet Ontology: https://github.com/jordipons/AudioSetOntologyTree Now we just need to decide some details about the visualization, specially the "color code" we aim to use. |
Nice! The preprocessing step should not really be needed, as Freesound Dataset already has some routines to build a tree structure out of the ontology provided with the AudioSet format (a list). We should probably add a method in the |
Current implementation from #22 has been deployed.
|
Once finished, peharps this tree could be great option for choosing a category to contribute to, since it is a nice way to navigate through all the categories of the AudioSet Ontology. |
I have a simple suggestion to improve the navigation on the tree structure: When you press a category, the tree navigator could automatically scroll on the y-axis to the position of the newly opened category. I believe this would enable easier navigation, without having to resort to the |
I think it is a good idea and it should not be too complicated. When a node is clicked, the function click(d) {
if (d.children) { // children nodes of the clicked node are already displayed
d._children = d.children;
d.children = null;
} else { // children nodes are not displayed
d.children = d._children;
d._children = null;
}
update(d);
} We could also scroll back to to the original node when it is closed. document.getElementById('ontology_placeholder').scrollLeft = d.children[0].y
- offset or (depending on the case): document.getElementById('ontology_placeholder').scrollLeft = d.y - offset @aframires, if you want you can try to setup a development version of the website (I can help you on that but it should not be too complicated - We <3 Docker) |
It would be good to be able to explore the taxonomy with a tree-like visualisation as an alternative to the current list-based visualisation. Maybe user could chose which one to look at in a "tabbed" interface. Potential useful Javascript libraries for the tree-like structure:
The text was updated successfully, but these errors were encountered: