Skip to content
Steem top communites 3D force-directed graph visualization
Branch: master
Clone or download
mys Merge pull request #9 from mys/optimizations
Optimizations and decorating details
Latest commit c9f0722 Sep 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
data The painter has the Universe in his mind and hands. Aug 3, 2018
fonts
img
js
.gitignore The painter has the Universe in his mind and hands. Aug 3, 2018
LICENSE
README.md The painter has the Universe in his mind and hands. Aug 3, 2018
index.html Create loading bar and intro zoom Sep 16, 2018
package.json

README.md

Steemverse

https://steemverse.com

Steem top communites 3D force-directed graph visualization. Using ThreeJS Javascript 3D drawing library and 3D Force-Directed Graph layout engine.

Installing

> git clone https://github.com/mys/steemverse.git
> cd steemverse
> npm install

Host 'steemverse' catalog using eg. Apache/nginx

Data gathering

All data are collected using SteemSQL database.

SteemSQL configuration

Set SteemSQL connection server, credentials and DB.

data/config.py (secure this file privileges!)

server = ''
user = ''
password = ''
database = ''

Run

> python3.6 data/data.py

The return will create categories.json and accounts.json data files.

This process takes ~2 hours long!

Data files

  • categories.json
{
	"nodes": [ 
		{ 
			"id": "#category1",
			"count": 1,
			"type": "tag"
		},
		(...)
	],
	"links": [
		{
			"source": "#category1",
			"target": "#category2".
			"strength": 0.2
		},
		(...),
	],
	"snapshot": "2018-07-27"
}
  • accounts.json
{
	"nodes": [ 
		{ 
			"id": "account1",
			"sp": 25,
			"category": "#category1"
		},
		(...)
	],
	"links": [
		{
			"source": "account1",
			"target": "#category1",
			"visible": 0,
			"strength": 1
		},
		(...)
	],
	"snapshot": "2018-07-27"
}
You can’t perform that action at this time.