--- title: examples h1: 'd4' lead: A friendly charting DSL for d3 ---

Examples

This section demonstrates the various, charts, features and parsers that come bundled with d4. The charts you find here can be considered the canon of charts common to financial and business applications. If you have an idea for a more exotic breed, please do submit a pull-request!

Charts

The following list demonstrates mostly boilerplate examples of the common chart types. It is relatively trivial to make a chart type. Most of the hard work is in writing the features themselves.

{{#each charts}}
{{chart}}
{{#each pages}}
{{data.title}}
{{/each}}
{{/each}}

Features

A feature of a chart is a visual component, which helps convey meaning in the data.Charts are made up of features whether it be an xAxis, or a series of columns, or a contiguous line. The following list demonstrates some of the capabilities of these features, and how you might apply them in your own charts.

{{#each features}}
{{feature}}
{{#each pages}}
{{data.title}}
{{/each}}
{{/each}}

Concepts

d4 has a series of reoccurring concepts which once understood will make using the library much easier. The following list demonstrates the core concepts of d4.

{{#each concepts}}
{{concept}}
{{#each pages}}
{{data.title}}
{{/each}}
{{/each}}