# Advent of Code, Day 3: D3 chart basics

- Link: https://cagrimmett.com/2019/12/04/advent-day-3/
- Published: 2019-12-04T02:18:00-05:00
- Author: Chuck Grimmett

Day 3!

#### Today’s progress

 * set up pods because that is what I’m used to working with at [Crash](https://github.com/crashco/)
 * configured Tailwind in Ember
 * successfully rendered yesterday’s D3 mock inside a component
 * Talked to my first user (my wife!) and got feedback about the chart. She says
   vegetables should be sorted by when you plant them by default, not when you added
   them to the chart.

Resources that helped me:

 * [A guide to using Tailwind v1.0 and Purge CSS with EmberJS by chrism](https://github.com/chrism/emberjs-tailwind-purgecss)
 * [EmberMap’s Using D3 with Ember](https://embermap.com/topics/d3/)
 * [ember-template-component-import](https://github.com/crashco/ember-template-component-import)
 * [Ember Project Layouts](https://cli.emberjs.com/release/advanced-use/project-layouts/)
   to learn how to set up pods

Today’s commits:

 1. [configure tailwind, move to pods](https://github.com/cagrimmett/plant-gantt/commit/73c7d30b51566cddcb477c66b8bfa146f35f8bcc)
 2. [add calendar component and add D3 mock to it](https://github.com/cagrimmett/plant-gantt/commit/09a08ac592526c7b8b161a67a45f33193bb568bc)

#### Tomorrow’s goal:

 * change the calendar component to be responsive
 * sort the vegetables
 * Change the data to be closer to user-input data (plant date and duration, not
   just plant and harvest dates
 * watch more embermap videos to learn how to update with changes to user input 
   data
