Skip to content

repository that contains python scripts used for generating a visualisation of tweets

Notifications You must be signed in to change notification settings

d3scmps/final_visu_repo

Repository files navigation

Description

This set of python scripts is made for processing a csv file which contain tweets, those scripts filter out tweets that are not retweeted and agregate the sum of the followers

How to use it

STEPS :

1 - Use the filtration_and_graph.py script

This Script will generate a filtered csv file and a gexf file. In the command line you need to indicate the path to your tweet csv file. A color gradient can be add (the color is fixed : red) by adding the option : --gradient to the commandline

2 - Open the gexf file in Gephi and run the Noverlap algorithm

Parameters : (speed : 1.1, ratio : 1.2, margin = 0.02) Export to svg format

3 - Use the attributes_svg_insertion.py script

This script will add the following attributes to each node : author, text, sum_Rtfollower You need to specify in the commandline in this order : the csv file, the SVG file

About

repository that contains python scripts used for generating a visualisation of tweets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages