Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chiasm-dsv-dataset

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chiasm-dsv-dataset - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

1

index.js
//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",

6

README.md
# 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).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc