All skills
raintree-technology avatar

/hig-components-content

@5aac106

Apple Human Interface Guidelines for content display components. Use this skill when the user asks about "charts component", "collection view", "image view", "web view", "color well", "image well", "activity view", "lockup", "data visualization", "content display", displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says "how should I display charts", "what's the best way to show images", "should I use a web view", "how do I build a grid of items", "what component shows media", or "how do I present a share sheet". Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.

Use this Skill: https://skilld.dev/gh/raintree-technology/hig-doctor/hig-components-content

This session only. Nothing lands on disk.

referencescharts.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

<!-- hig-doctor:attribution -->

Source: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/charts. This file is a structured index of that content, snapshot 2025-02-02. Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.

Charts

  • Learn how upcoming weather conditions might affect their plans.

  • Analyze stock prices to understand past performance and discover trends.

  • Review fitness data to monitor their progress and set new goals.

Marks

Choose a mark type based on the information you want to communicate about the data.

Consider combining mark types when it adds clarity to your chart.

Axes

Use a fixed or dynamic axis range depending on the meaning of your chart.

Define the value of the lower bound based on mark type and chart usage.

Prefer familiar sequences of values in the tick and grid-line labels for an axis.

Tailor the appearance of grid lines and labels to a chart’s use cases.

Descriptive content

Write descriptions that help people understand what a chart does before they view it.

Summarize the main message of your chart to help make it approachable and useful for everyone.

Best practices

Establish a consistent visual hierarchy that helps communicate the relative importance of various chart elements.

In a compact environment, maximize the width of the plot area to give people enough space to comfortably examine a chart.

Make every chart in your app accessible.

Let people interact with the data when it makes sense, but don’t require interaction to reveal critical information.

Make it easy for everyone to interact with a chart.

Make an interactive chart easy to navigate when using keyboard commands (including full keyboard access) or Switch Control.

Help people notice important changes in a chart.

Align a chart with surrounding interface elements.

Color

Avoid relying solely on color to differentiate between different pieces of data or communicate essential information in a chart.

Aid comprehension by adding visual separation between contiguous areas of color.

Enhancing the accessibility of a chart

Consider using Audio Graphs to give VoiceOver users more information about your chart.

Write accessibility labels that support the purpose of your chart.

  • Prioritize clarity and comprehensiveness. In general, it’s rarely enough to merely report a data value unless you also include context that helps people understand it, like the date or location that’s associated with it. Aim to concisely describe the context for a value without repeating information that people can get in other ways, like an axis name that Audio Graphs or your overview provides. Follow context-setting information with a succinct description of the element’s details.

  • Avoid using subjective terms. Subjective words — like rapidly, gradually, and almost — communicate your interpretation of the data. To help people form their own interpretations, use actual values in your descriptions.

  • Maximize clarity in data descriptions by avoiding potentially ambiguous formats and abbreviations. For example, using “June 6” is clearer than using “6/6”; similarly, spelling out “60 minutes” or “60 meters” is clearer than using the abbreviation “60m.”

  • Describe what the chart’s details represent, not what they look like. Consider a chart that uses red and blue colors to help people visually distinguish two different data series. It’s crucial to create accessibility labels that identify what each series represents, but describing the colors that visually represent them can add unnecessary information and be distracting.

  • Be consistent throughout your app when referring to a specific axis. For example, if you always mention the X axis first, people can spend less time figuring out which axis is relevant in a description.

Hide visible text labels for axes and ticks from assistive technologies.

Platform considerations

watchOS

In general, avoid requiring complex chart interactions in your watchOS app.


<!-- hig-doctor:canonical-footer -->

For the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/charts

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides documentation and design guidelines based on the Apple Human Interface Guidelines for content components. It is a documentation-only skill consisting of markdown files with no executable code or scripts.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5aac106. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 7 months ago
version
1.0.0

README badge

README badge for raintree-technology/hig-doctor/hig-components-content