로딩
요청 처리 중입니다...

D3 - bar 그래프 그리기 (실전 예시)

 D3 - bar 그래프 그리기 (실전 예시)

그래프를 그릴 공간을 정한다.

확진자수 현황

const width = 800 const height = 800 let [mt, mb, mr, ml] = [50, 50, 50, 50] const svg = d3.select('.canvas') .append('svg') .attr('width', width) .attr('height', height ) 2.

그래프의 크기를 정한다.

확진자수 현황

const width = 800 const height = 800 let [mt, mb, mr, ml] = [50, 50, 50, 50] const svg = d3.select('.canvas') .append('svg') .attr('width', width) .attr('he...

# bar # D3 # 그래프그리기 # 실전