{#if poll}
{poll.name}
{@html poll.description.rendered}
{#each Object.entries(poll.evaluation).sort((a,b) => b[0] - a[0]) as [avg,optionset]} {#each Object.entries(optionset) as [option_id,histo]} {/each} {/each}
{t('option')} {t('average')} {t('histogram')}
{poll.options[option_id].name} {(+avg).toFixed(3)}
{/if}