ナビゲーション

v2.1.0
全体の内訳

ファネルチャート

一連の流れを、次の段階に進むにつれて幅が狭くなる形で示します。

このページの内容

ファネルチャートは、訪問、登録、利用開始、支払いなど、一連の流れの各段階にどれだけ到達したかを示します。各系列が一つの段階を表し、その幅は最初の段階の値に対する比率で決まります。段階の終端に向けて幅が次の段階の幅まで狭まるため、減少が最も大きい箇所では幅の変化も最も大きくなります。各段階の横には、名前、値、最初の段階に対する残存率が順に表示されます。

ファネルチャート

<div class="card max-w(560) mx-auto">  <div class="card-header">    <h3 class="card-title">Sign-up</h3>    <p class="card-description">From a visit to a paid plan, this month</p>  </div>  <figure class="chart" id="signup"></figure></div><script>addEventListener('DOMContentLoaded', function () {MasterUI.chart(document.getElementById('signup'), {  type: 'funnel',  label: 'Sign-up funnel this month: people at each stage',  series: [    { name: 'Visits', value: 12480 },    { name: 'Sign-ups', value: 4210 },    { name: 'Activated', value: 2380 },    { name: 'Paid', value: 642 }  ]})})</script><script type="module">  import { attach } from '@master/ui/behaviors'  attach()</script>
import { Chart } from './ui/chart'<div className="card max-w(560) mx-auto">  <div className="card-header">    <h3 className="card-title">Sign-up</h3>    <p className="card-description">From a visit to a paid plan, this month</p>  </div>  <Chart    id="signup"    type="funnel"    label="Sign-up funnel this month: people at each stage"    series={[      { name: 'Visits', value: 12480 },      { name: 'Sign-ups', value: 4210 },      { name: 'Activated', value: 2380 },      { name: 'Paid', value: 642 }    ]}  /></div>
<script>  import Chart from './ui/Chart.svelte'</script><div class="card max-w(560) mx-auto">  <div class="card-header">    <h3 class="card-title">Sign-up</h3>    <p class="card-description">From a visit to a paid plan, this month</p>  </div>  <Chart    id="signup"    type="funnel"    label="Sign-up funnel this month: people at each stage"    series={[      { name: 'Visits', value: 12480 },      { name: 'Sign-ups', value: 4210 },      { name: 'Activated', value: 2380 },      { name: 'Paid', value: 642 }    ]}  /></div>
<script setup>import Chart from './ui/Chart.vue'</script><template>  <div class="card max-w(560) mx-auto">    <div class="card-header">      <h3 class="card-title">Sign-up</h3>      <p class="card-description">From a visit to a paid plan, this month</p>    </div>    <Chart      id="signup"      type="funnel"      label="Sign-up funnel this month: people at each stage"      :series="[        { name: 'Visits', value: 12480 },        { name: 'Sign-ups', value: 4210 },        { name: 'Activated', value: 2380 },        { name: 'Paid', value: 642 }      ]"    />  </div></template>

段階を流れに沿って並べ、各段階に一つの value を指定します。最初の段階が最も濃く、後の段階ほど一段ずつ淡くなるため、幅と色の濃淡の両方で流れを読み取れます。ファネルチャートは、各段階が最初の段階の部分集合となる一連の流れに使います。地域別売上のように独立した項目の量を比較するには、棒グラフを使います。

#オプション

オプション既定
labelなしグラフが示す内容と単位を表す、プロットのアクセシブルな名前
series[]各系列に name と、形式に応じて values、value、points、ranges、children のいずれかを指定します。category、type、low と high、円環の max は任意です
format, tickFormatロケールに準拠値と目盛りの表示形式。散布図の横軸には xFormat を使用
currentなしaria-current を付けるデータ点のインデックス

値の表示、キー操作、凡例、色、スケールは、すべての形式で共通です。すべてのオプション、クラス、カスタムプロパティは チャート に記載しています。