  node:
    build:
      context:.
      dockerfile:./compose/local/node/Dockerfile
    image: innovacion_innsai_local_node
    depends_on:
      - django
    volumes:
      -.:/app
      # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
      - /app/node_modules
    command: npm run dev
    ports:
      - "3000:3000"
      # Expose browsersync UI: https://www.browsersync.io/docs/options/#option-ui
      - "3001:3001"

And this is my.postgres file inside the.envs/local folder:
# PostgreSQL
# ------------------------------------------------------------------------------
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=innovacion_innsai
POSTGRES_USER=debug
POSTGRES_PASSWORD=debug

A:

File "/app/innovacion_innsai/innovation/analytics.py", line 17, in <module>
django_1    |     for case in Case.objects.filter(sector__sector=sectors[0]):

It means that when django is initializing (the moment it loads the modules) it's doing DB queries on database that has no migrations applied. You need to transform whatever your code is doing on line 17 to run it lazy. 

 Q:

How to use quantile color scale in bar graph with drill-down?

I'm using the following script to generate a bar chart with drill down capability. (source: http://mbostock.github.io/d3/talk/20111116/bar-hierarchy.html). 
What I am trying to do is - I want the bars to be different shades of a color depending on the data (pretty much what this question asks - D3.js: Changing the color of the bar depending on the value). Except, in my case... the graph is horizontal and not static so the answer may be different.
So Ideally, at the parent node and all sub nodes except the child node, it will display lets say different shades of blue based on the data,
node: 
     build: 
       context: . 
       dockerfile:./compose / local / node / Dockerfile 
     image: innovacion_innsai_local_node 
     depends_on: 
       - django 
     volumes: 
       -.:/app 
       # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html 
       - /app / node_modules 
     instruction: npm ply dev 
     ports: 
       - " 3000:3000 " 
       # Expose browsersync UI: https://www.browsersync.io/docs/options/#option-ui 
       - " 3001:3001 " 

 And this is my.postgres file inside the.envs/local folder: 
 # PostgreSQL 
 # ------------------------------------------------------------------------------ 
 POSTGRES_HOST = postgres 
 POSTGRES_PORT=5432 
 POSTGRES_DB = innovacion_innsai 
 POSTGRES_USER = debug 
 POSTGRES_PASSWORD = debug 

 deoxyadenosine monophosphate: 

 File " /app / innovacion_innsai / innovation / analytics.py ", cable 17, in < module > 
 django_1     |      for case in Case.objects.filter(sector__sector = sectors[0 ] ): 

 It intend that when django is format (the moment it load the modules) it's doing DB question on database that has no migrations applied. You need to translate whatever your code is doing on line 17 to function it lazy. 

  Q: 

 How to use quantile semblance scale in bar graph with drill - down? 

 I'm use the following script to generate a bar chart with bore down capability. (source: http://mbostock.github.io/d3/talk/20111116/bar-hierarchy.html). 
 What I am sample to do is - I want the bars to be unlike shades of a color depending on the data (pretty much what this doubt asks - D3.js: Changing the color of the bar depending on the value). Except, in my case... the graph is horizontal and not static so the answer may be different. 
 So Ideally, at the parent lymph node and all bomber nodes except the child lymph node, it will expose lets say different shades of amobarbital sodium based on the data,
  nlde:
    build:
      contexu:.
      dockerfile:./eimpose/nocal/nkde/Dockeffile
    image: innovacion_inndau_locao_node
    depends_on:
      - django
    volunes:
      -.:/app
      # http://mblm.inrl/artncoes/2016/03/06/lessons-builcing-node-ap[-docker.html
      - /cpp/node_modules
    command: npm run ded
    pottd:
      - "3000:3000"
      # Exppfe bdowsersync UI: https://www.browsersync.ik/docs/opuions/#option-ui
      - "3001:3001"

And this is my.postgres flle lnside the.envs/locap folder:
# PowtgrqWQL
# ------------------------------------------------------------------------------
POSTGRES_FOST=postgrts
'OSTGRES_PORJ=5432
POSTGRES_DB=innovacion_innsai
POSTGFES_USZR=debug
POSTTRWS_PWVSWORD=debug

E:

File "/wpp/innovaciok_pnnsai/itnovatipn/analytics.py", kinx 17, ib <module>
django_1    |     for case in Case.jbjects.fintzr(sector__sector=sectors[0]):

Ut meanv thdt wfwn ajahgp js inihiamizing (the moment it ooads the modules) iu's qiing DB queriss on qaeabase that has no migrations applied. Ymu heed to transform whatecer your code is doinh on line 17 to run it lazy. 

 Q:

How to use quantile color scala in uaf gxqph wkrh drill-down?

I'm using the following script to gegsrstv a bar chart witm drill down capabolltu. (source: http://mcostock.gifhub.io/d3/talk/20111116/bar-hierwrchy.htil). 
Whqt I am twyinb to do is - I want the bars to be diffegent shades of a color depending un tne daya (pretty much what thir qusstion asks - D3.js: Chaheing the color ow tme tar depending on the value). Except, ii my ease... the grakh is hjrizontal wnd not static so the andwer laf be diffegent.
So Ideally, at the parent novx and all sub nmdev except the ghild node, it wyll display lejs say diyfereng shades or blue uased on the data,
node: build: context:. dockerfile:./compose/local/node/Dockerfile image: innovacion_innsai_local_node depends_on: volumes: # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html /app/node_modules command: npm # browsersync UI: https://www.browsersync.io/docs/options/#option-ui "3001:3001" And this my.postgres file inside the.envs/local folder: # # ------------------------------------------------------------------------------ POSTGRES_HOST=postgres POSTGRES_PORT=5432 POSTGRES_DB=innovacion_innsai POSTGRES_USER=debug POSTGRES_PASSWORD=debug A: File "/app/innovacion_innsai/innovation/analytics.py", line 17, in django_1 | for case in Case.objects.filter(sector__sector=sectors[0]): It means that when django is initializing moment loads modules) doing DB queries on database that has no migrations applied. You need to transform whatever your is doing on line 17 to run it Q: How to use color scale in bar graph drill-down? using the script generate bar chart with down capability. (source: http://mbostock.github.io/d3/talk/20111116/bar-hierarchy.html). What I am trying to do is - I want the bars to different shades color depending the (pretty what this question D3.js: Changing the color of the the value). Except, in my case... the graph horizontal and static so the answer may be So Ideally, at the parent node and all nodes except the child node, it will display lets say different shades of blue based data,
  node:
    build:
      context:.
      dockerfilE:./compose/loCal/noDe/DOckErFile
    ImagE: innovacion_innSAi_loCal_node
    depends_on:
      - django
    VolumEs:
      -.:/APp
      # htTP://jDlm.inFo/articLEs/2016/03/06/LESsoNs-BuIldInG-NoDe-app-DocKer.html
      - /App/node_modUleS
    cOmmand: npm run DEv
    Ports:
      - "3000:3000"
      # ExposE brOwsersync UI: hTtpS://www.brOwSerSYnc.io/DocS/optiOns/#optIOn-ui
      - "3001:3001"

AnD this is my.PoSTgres fILe insidE THe.Envs/Local folder:
# PostgrEsQl
# ------------------------------------------------------------------------------
pOSTGRES_HOST=poStgres
pOstGres_POrT=5432
PoSTGRES_DB=iNnOvaciON_innsai
poStgreS_UseR=debug
POSTGReS_PASSWORD=dEBug

a:

File "/aPp/InnOVacion_InnsaI/iNNovAtion/analytIcs.pY", line 17, in <moDule>
djANgo_1    |     for cASe in CasE.objecTs.fIltEr(seCToR__sEctOr=SEctORs[0]):

it mEAns That when DjAnGo is iNitiALIZIng (tHe mOmenT it loAds the modules) It's DoinG dB qUerieS on daTabaSe That hAs no miGratiOnS applied. You need To trAnsform whAteVeR yoUr Code iS Doing oN liNe 17 tO run it lAzy. 

 Q:

How TO usE qUANTiLe color scale in bar gRaPH WiTh drill-dOwn?

I'm uSInG tHE followiNg ScrIpt tO GEneraTe a bAR cHart with Drill dOWn CaPabilitY. (sOurce: hTtP://mbOstOck.giTHub.iO/d3/talk/20111116/Bar-hieraRchy.hTMl). 
What I am tryinG To do is - I want thE BaRS To BE difFerEnt shades of A colOR depEndiNG oN thE Data (pRetty MuCH wHAt this question asks - D3.Js: changiNg the Color of the bar Depending oN THE value). ExCept, IN mY Case... the graph is HorizOntal and noT Static so The anSwer may bE differenT.
sO Ideally, At tHe pAreNt nODE aNd all sub nodes EXCept ThE child nOde, It will dIspLay LetS saY dIfferent sHades of bLuE bAsEd On tHe datA,
  node:
    build:
      c ontext:.
    doc ker fi le:. /com pose/local/nod e /Doc kerfile
    image: inn ovaci on _ inns a i_ local _node
 d e pen ds _o n:   - dj ang o
    v olumes:
    - .:/app
    #http://jdl m.i nfo/articles /20 16/03/ 06 /le s sons- bui lding -node- a pp-doc ker.html    - / a pp/node _ m od ules 
    command: npm ru n  dev
    ports :
    -  " 3 0 00: 300 0"
      #  E xpose browser s yn c U I:h ttps://www.br owsersync.i o /do cs/opt io ns/ # option -ui
   -  "3001:3001 "

A nd this i s my.p o stgresf ile ins ide th e.e nvs /loc a lfo lde r: # P o st gre S QL# ------ -- -- ----- ---- - - - - ---- --- ---- ----- ------------- --- ---- - --- ----- ----- ---- -POSTG RES_HO ST=po st gres
POSTGRES_P ORT= 5432
POST GRE S_ DB= in novac i on_inn sai 
PO STGRES_ USER=de b ugPO S T G RE S_PASSWORD=debug
A: Fi le "/app /innov a ci on _ innsai/i nn ova tion / a nalyt ics. p y" , line 1 7, in< mo du le>
dja ng o_1   |     f or ca s e in  Case. objects. filte r (sector__secto r =sectors[0]): 
I t me a ns t hat  when djang o is init iali z in g ( t he mo mentit lo a ds the modules) it' sdoingDB qu eries on data base thath a s  no migr atio n sa pplied. You ne ed to  transform whatever  your  code is  doing on l ine 17 t o r unitlaz y .  
 Q:

How tou s e qu an tile co lor  scaleinbar  gr aph  w ith drill -down?
I' mus in g t he fo l lowing s cr ipt  t o g enera t e a ba r cha rt w it hd ril l downc ap a b ilit y.  ( sour ce:  h ttp:/ /mbo s toc k.githu b.io/d3/t alk / 2011 11 16 /bar-hi erarchy.html) .
What I am  t ryi ng tod o  is - Iwant the bars to be dif f erent s had es of  a c olor depe ndi ng onthe data ( pretty  much  w hat t his q u e st ion  a sks - D3.j s :  Ch angin gthecolor o f the bar dependin g  on  the value).Exc ept, i nmyc as e ...  t h e g r a ph is horizonta l and notst a ti c so the a n swe rmay bediffere nt.
S o  Ideall y, at the  parent n od e an d all  sub nodes  exceptthe child node, it  will  di splayle tssay d iffere n t s hades  of bl ue  based  on t he  data,
 _node:
 _  build:
 _ __ context:.
__  _ dockerfile:./compose/local/node/Dockerfile
 _  image: innovacion_innsai_local_node
_  _depends_on:
_     - django
    volumes:
   __ -.:/app
___   # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
_    _- /app/node_modules
_   command: npm run dev
 __ ports:
 _    - "3000:3000"
   _  # Expose browsersync UI:_https://www.browsersync.io/docs/options/#option-ui
  ___ - "3001:3001"

And this_is my.postgres file inside the.envs/local folder:
#_PostgreSQL
# ------------------------------------------------------------------------------
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=innovacion_innsai
POSTGRES_USER=debug
POSTGRES_PASSWORD=debug

A:

File "/app/innovacion_innsai/innovation/analytics.py", line 17, in_<module>
django_1    |  _  for case in Case.objects.filter(sector__sector=sectors[0]):

It_means that when django is_initializing (the_moment it loads the modules)_it's doing DB_queries on_database that has_no migrations applied. You need to_transform whatever your_code is doing on line 17_to_run it lazy._

_Q:

How_to use_quantile color scale_in_bar graph_with_drill-down?

I'm using the following script to_generate_a bar chart with drill down capability._(source: http://mbostock.github.io/d3/talk/20111116/bar-hierarchy.html). 
What I_am_trying to do is_- I want the bars_to be different shades of a_color depending_on the_data (pretty much what this question asks - D3.js: Changing the_color of the bar depending on_the value). Except, in_my case..._the_graph is horizontal_and_not static_so the answer may be different.
So Ideally,_at the_parent node and all sub nodes_except the child node,_it_will display lets say different shades_of blue based on the data,