Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keen/radialflows
Radial flow (sunburst) data visualization
https://github.com/keen/radialflows
Last synced: 11 days ago
JSON representation
Radial flow (sunburst) data visualization
- Host: GitHub
- URL: https://github.com/keen/radialflows
- Owner: keen
- Created: 2014-07-14T17:32:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-17T19:30:45.000Z (about 9 years ago)
- Last Synced: 2024-11-07T12:52:19.936Z (13 days ago)
- Language: Ruby
- Size: 900 KB
- Stars: 26
- Watchers: 42
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Radial Flows
_Radial flow (sunburst) data visualization_This visualization exposes common (and uncommon) user flows within a certain timeframe.
For example, the radial flow in the image below reveals that 3.1% of users in the last 1000 sessions interacted with a jukebox like this:
money - song - play - song - play - portal - end
![Alt text](images/1k_flows.png "Radial Flow!")
##How it works
`latest_radial_sequence_data.rb` reads data from a project in [Keen IO](https://keen.io), sorts the data into user flows and publishes a new event collection to a project in Keen IO.
1. Open `settings.yml` and specify the project keys, name of the event collection you're saving to Keen IO, `collection_name`, and the number of events you'd like to analyze, `num_latest_events`.
2. When you're ready to create a new event collection for user flow data, run this script in **terminal** `ruby latest_radial_sequence_data.rb`.
3. Run this command in **terminal** `python -m SimpleHTTPServer 9000`, and then in a browser tab, open [http://localhost:9000/dataview/](http://localhost:9000/dataview/)
4. Type in the name of your **event collection** (e.g. the `collection_name` you specified in `settings.yml`) and hit "Go!". Your data visualization should appear momentarily.