chiasm-dsv-dataset
Advanced tools
Comparing version 0.2.0 to 0.2.1
//chiasm-dsv-dataset.js | ||
//v__VERSION__ | ||
// | ||
@@ -4,0 +3,0 @@ //A Chiasm plugin that loads data files. |
{ | ||
"name": "chiasm-dsv-dataset", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A Chiasm plugin that loads delimiter separated value (DSV) data tables.", | ||
"main": "index.js", | ||
"scripts": { | ||
"pretest": "browserify -o chiasm-dsv-dataset.js -s ChiasmDsvDataset index.js", | ||
"pretest": "browserify -g browserify-shim -o chiasm-dsv-dataset.js -s ChiasmDsvDataset index.js", | ||
"test": "mocha" | ||
@@ -27,8 +27,2 @@ }, | ||
"homepage": "https://github.com/chiasm-project/chiasm-dsv-dataset#readme", | ||
"browserify": { | ||
"transform": [ | ||
"browserify-shim", | ||
"browserify-versionify" | ||
] | ||
}, | ||
"browserify-shim": { | ||
@@ -48,3 +42,2 @@ "d3": "global:d3", | ||
"browserify-shim": "^3.8.10", | ||
"browserify-versionify": "^1.0.6", | ||
"chai": "^3.2.0", | ||
@@ -51,0 +44,0 @@ "chiasm": "^0.2.1", |
# chiasm-dsv-dataset | ||
A Chiasm plugin that loads delimiter separated value (DSV) data tables. This is a thin wrapper around the [dsv-dataset module](https://github.com/curran/dsv-dataset), which is a metadata specification and parsing library for data sets. Take a look at the [unit test](https://github.com/chiasm-project/chiasm-dsv-dataset/blob/master/test.js) for example usage. When a "path" property is specified, the component appends ".csv" and ".json" to it and uses an XMLHttpRequest to fetch those two paths. The ".csv" fils should contain a data table, and the ".json" file should contain metadata about the table including column types. | ||
A Chiasm component that loads delimiter separated value (DSV) data tables. This is a thin wrapper around the [dsv-dataset module](https://github.com/curran/dsv-dataset), which is a metadata specification and parsing library for data sets. Take a look at the [unit test](https://github.com/chiasm-project/chiasm-dsv-dataset/blob/master/test.js) for example usage. When a "path" property is specified, the component appends ".csv" and ".json" to it and uses an XMLHttpRequest to fetch those two paths. The ".csv" fils should contain a data table, and the ".json" file should contain metadata about the table including column types. | ||
@@ -31,3 +31,3 @@ Example use: | ||
``` | ||
```json | ||
{ | ||
@@ -83,1 +83,3 @@ "columns": [ | ||
Notice how numeric columns have been parsed to numbers. | ||
To see how this component can be used to fetch data for visualizations, check out this [Magic Bar Chart example](http://bl.ocks.org/curran/b6e1d23c16dc76371a92). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6948
6
84
66