     plan = TaskPlanStatsStore.get(id)
     periods = TaskPlanStatsStore.getPeriods(id)
 
-    # A Draft does not contain any stats
     if stats
       course = <CourseBar data={stats} type={plan.type}/>
 

      if _.isArray(stats.spaced_pages)
        practice = <PracticesPerformance spacedPages={stats.spaced_pages} activeSection={activeSection}/>

    else
      course = <span className='-no-data'>No Data (draft)</span>

    if shouldOverflowData
      dataComponent = <SmartOverflow className='reading-stats-data' heightBuffer={24}>


    handlePeriodSelect?(period)


  render: ->
    {id, courseId, shouldOverflowData, activeSection} = @props
    {stats} = @state
