docs
Adding a data visualization
- Write down the name of the data visualization...
- reducer value, to get and set:
- file / component name:
- title:
- Add button to press
- DiscordSideBarLeft.js for discord
- KeybaseQuerySelect.js for keybase
- Run reducer function when button is called to update context
- DATA_VIZ_SELECT for discord
- GRAPH_CONTROLS for keybase
- Create component
- Copy the template component
- Rename the file
- Set the correct name of the component function
- Import component and add if statement to render the component
- DiscordRenderDataViz.js function renderDataViz for Discord
- KeybaseRoot.js function renderGraph for keybase
Files with DataViz names
- DiscordSidebarLeft.js and KeybaseQuerySelect.js
backend_api
{
dataset : "STRING",
query_name : "STRING",
inputs : {
NAME_1 : "OBJECT DATA",
NAME_2 : "OBJECT DATA",
NAME_3 : "OBJECT DATA"
}
}
dataset
- discord
- keybase
- git
query_name
- discord
- most_messages_per_user
- keybase
- git