Individual skill
portaljs-add-chart
Add a chart (line, bar, area, pie, or scatter) to a dataset's showcase in a PortalJS portal. Installs recharts, writes a reusable Chart component, and renders it in the showcase Views section. Use when visualizing a dataset already registered in datasets.json.
skills/portaljs-add-chart/SKILL.md
Source commit fc7ccd651459549a962c8b7aa08f60f8849fd9a5
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,369
- Repository last updated
- Oct 28, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- data-portal Repository topic
- ckan Repository topic
- nextjs Repository topic
- open-data-portal Repository topic
- data-mesh Repository topic
- datahub Repository topic
- open-data Repository topic
- openmetadata Repository topic
- dataverse Repository topic
- dkan Repository topic
- portaljs Declared skill tag
- data-portal Declared skill tag
- chart Declared skill tag
- recharts Declared skill tag
- dataviz Declared skill tag
- nextjs Declared skill tag
- data Derived category
- engineering Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 4,416 bytesSKILL.mdcore · 4,416 bytesSKILL.mdcore · 4,416 bytesreferences/reference.mddoc · 2,255 bytes
Read excerpt
# PortalJS — Add Chart
## Overview
Add a visualization to a dataset's **showcase** in a PortalJS portal. The skill installs
`recharts` (added directly — never `@portaljs/components`), writes a reusable client-side
`Chart` component into `components/`, and renders a `<Chart />` into the **Views** section
of the showcase route `pages/[owner]/[slug].tsx` for one chosen dataset. The chart reads the
same `/public/data/<file>` the showcase `<Table />` already uses, so no data is duplicated.
Five chart types are supported: line, bar, area, pie, and scatter.
## Prerequisites
- A scaffolded PortalJS portal (see `portaljs-new-portal`).