Skip to content
/ steemverse Public

Steem top communites 3D force-directed graph visualization

License

Notifications You must be signed in to change notification settings

mys/steemverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}

About

Steem top communites 3D force-directed graph visualization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published