rickpock / horizontal-history Goto Github PK
View Code? Open in Web Editor NEWA history visualization tool charting the lifetimes of historical figures
License: MIT License
A history visualization tool charting the lifetimes of historical figures
License: MIT License
Including the data files as part of the repo has some rather unfortunate consequences.
The purpose of the project is to visualize history, but not create any commentary. Simply choosing which historical figures qualify as "significant enough" to be included in the data set is commenting. Even further, the categorization of historical figures requires defining what is most significant about them. For example, is U.S. President and business mogul Donald Trump a politician or a businessman?
The data model should be entirely abstracted away from the visualization.
Output format is specified with an argument beginning with a hyphen -
. Valid options are:
-svg
(default)-png
RMagick
and ImageMagick
. ImageMagick
must be installed for this option to work.The ruby code needs in-line commenting.
Area on the chart in the future will be "grayed-out".
SVG draws half the border inside the shape region, and half outside. This makes the outer border of the image half thickness than all shape borders on the interior of the image. In some places, this looks a little awkward. The overall image should be increased in size by 1/2 the border thickness on each size.
Gem dependencies should be specified in a Gemfile and Gemfile.lock.
It would be ideal to build a web application around this project. If it's rewritten in javascript, the entire application can run client-side. Also, this would reduce dependencies, since javascript is supported in any browser.
Currently (v2.0), each historical figure is colored based on their pre-defined "category".
The user should have the option to color based on other criteria.
For example, they may want to show political leaders throughout history, colored by region of the world (Red for Americas, Blue for Europe, etc). If colored by category, they'd all be the same color (for political).
If the historical figure can be drawn on the chart in an existing column without overlapping any other figures, then it will be drawn in the left-most column that can fit it. Otherwise, it will be drawn in a new column to the right of the existing historical figures.
The project needs unit tests on each of the .rb files.
GitHub recently changed their engine for rendering Markdown text, breaking the Markdown files in this repo (at least for viewing them in github).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.