rhoinc / viz-library Goto Github PK
View Code? Open in Web Editor NEWA series of reproducible statistical visualization examples.
Home Page: https://rhoinc.github.io/viz-library/
License: MIT License
A series of reproducible statistical visualization examples.
Home Page: https://rhoinc.github.io/viz-library/
License: MIT License
Simple js redirects seems to work fine. Just update index.html
as shown below and then delete other files:
<html lang="en"><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
This page has moved. You will be redirected to the <a href="https://rhoinc.github.io/r-library/examples/0006-precip-levelplot-lattice/">new location</a> momentarily ...
</body>
<script>
window.location.replace("https://rhoinc.github.io/r-library/examples/0006-precip-levelplot-lattice/");
</script>
</html>
Migration checklist
I clicked through all of the tabs in the following two viz-library examples and none of them would load.
https://rhoinc.github.io/viz-library/examples/0008-safetyExplorer-default/
https://rhoinc.github.io/viz-library/examples/0011-safetyExplorer-queries/
Heather Kopetskie noticed that the Query Overview example in viz-library is no longer loading. We need to figure out a fix.
https://rhoinc.github.io/viz-library/examples/0013-query-overview/
render the readme.md as readme.html and add link to example page.
Need to make sure all test-page
s pull data from data-library
instead of viz-library\data
, and that they use jsdelivr
instead of rawgit
Not 100% obvious that it's a clickable control now.
Migrate the following 5 examples
example 12 not renderering with refactor.
Leaning towards allowing an arbitrary number of subfolders for any given example each of which is 'built' using the same process for the root project folder. The person who creates the example will be responsible for providing a way to navigate between the folders ... at least at first.
The following charts have links to download data that either point you back to the Viz Library homepage or show an error "file not found" message:
Ordered Precipitation Heatmap
Spike Histogram Demo
Web Codebook Demo
Interactive Scatter Plot Lattice with Viral Signs Data
Unemployment Trends with a Multivariate Time Series
Simple Interactive Bar Chart (results data = null)
Safety Explorer Suite - Single Page
Web Codebook Explorer
Safety Explorer - Default Configuration
Need to make a gist list
Files need to be converted to utf-8 to work better in our proprietary systems
fa fa-github instead of fab fa-github
The following prototypes are not displaying and need to be fixed:
Refactor the example build and appearance to:
iframes
and use a simple templated header on example pages instead.package.json
instead of inventing our own custom metadata tracking format.Once the core content for an example has been created (index.html, image files, readme.md, etc), the user must create an independent package.json for the example. The information from package.json will be used to format the header for the example when the viz-library website is created (via npm run build
).
The parameters for the package.json
are:
name
above (e.g. "simple-barchart" -> "Simple Barchart"). Note that this is a custom field that isn't in the npm package.json specA typical pacakge.json
for an example might look like this:
{
"homepage":"./example.html",
"main": "simpleBarChart.js",
"name": "simple-barchart-webcharts",
"version": "1.0.0",
"description": "This is a simple bar chart showing counts of medals won by country at the 2012 summer Olympics. Made with Webcharts.",
"author": "Rho, Inc.",
"license": "MIT",
"keywords":["javascript","interactive","bar chart"],
"dependencies": {
"d3": "~3",
"webcharts":"~1"
},
"dataDependecies":["./OlympicMedals2012.csv"]
}
AE and ADAE were both tried, got 404 errors for both
https://rhoinc.github.io/viz-library/data/safetyData-queries/ADAE.csv
vs.
https://rhoinc.github.io/viz-library/safetyData-queries/ADAE.csv
Requires manual review. Run npm audit
.
Manual intervention? or tweak script?
Need a way to add a description for interactive graphics (basically, similar to how bl.ock.org processes a gist). Could use something like this? Or maybe just link to the github page?
since it lives in webcharts now.
Let users easily flip through the example pages
Use bin/gists/oden_dow_jones_practice
Instead of bin/gists/oden/dow_jones_practice
Examples 1 through 6
example 8 and example 11 need updates.
The nav bar on the Safety Explorer Chart examples in the Viz Library (Default and Query Data versions) don't appear to be working. Chrome renders nothing when I click on one of the other charts. Firefox spits out: "301 Moved Permanently"
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.