Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.58 KB

File metadata and controls

57 lines (38 loc) · 2.58 KB

Dynamic Ranking Visualization

Visualize historical data with dynamic bar chart

Chinese

GitHub issues GitHub stars GitHub forks GitHub license

This is a data visualization project based on D3.js, which easily converts historical ranking data to dynamic bar chart.

This project aims to help video creators without programming experience produce ranking animation videos.


How to Use

Open src/bargraph.html in any browser and click choose file button. Choose your .csv formated data source then you can see the visualzied result.

Data Format

You can load data source in .csv format. See format requirement below:

name type value date
Name1 Type1 Value1 Date1
Name2 Type2 Value2 Date2

Names will be displayed as categorical labels on Y-axis. Name-Type together will be displayed as annotations on bars.

Types are associated with bar colors. Please use type names with no whitespaces or any special characters other than English letters and Chinese characters.

Values are associated with bar length. They have to be interger or float values.

Dates should be in YYYY-MM-DD format.

Configurations

You can customize this project by editing parameters in src/config.js with any text editor. Please check src/config.js comments for parameter details.