observable-framework-lib-csv

Community

Parse and generate CSV data with d3-dsv.

Authorspqw
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the process of loading and manipulating CSV, TSV, and other delimited files within Observable Framework projects, ensuring data is correctly typed and structured.

Core Features & Use Cases

  • Load CSV/TSV: Easily load delimited files using FileAttachment.csv() and FileAttachment.tsv().
  • Type Coercion: Automatically infer and convert data types (numbers, dates, booleans) using d3.autoType or custom functions.
  • Custom Delimiters: Handle files with delimiters other than commas or tabs using FileAttachment.dsv().
  • Array Output: Option to receive data as an array of arrays instead of an array of objects when files lack headers.
  • Use Case: Load a dataset of geographical information from a CSV file, automatically parse dates and numerical values, and then display it in a table for analysis.

Quick Start

Load the 'gistemp.csv' file and automatically infer data types.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: observable-framework-lib-csv
Download link: https://github.com/spqw/skill-observable-framework/archive/main.zip#observable-framework-lib-csv

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.