{"id":39046,"date":"2024-11-02T02:36:34","date_gmt":"2024-11-02T02:36:34","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39046"},"modified":"2024-11-26T06:42:34","modified_gmt":"2024-11-26T06:42:34","slug":"%ec%b0%a8%ed%8a%b8%ec%99%80-%ea%b7%b8%eb%9e%98%ed%94%84-%ea%b5%ac%ed%98%84%ed%95%98%ea%b8%b0-d3-js%ec%99%80-%eb%a6%ac%ec%95%a1%ed%8a%b8%ec%9d%98-%ec%97%b0%eb%8f%99%ec%9d%84-%ed%86%b5%ed%95%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39046\/","title":{"rendered":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504"},"content":{"rendered":"<p><body><\/p>\n<p>\ub9ac\uc561\ud2b8(React)\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\ud55c UI\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc774\uc640 \ud568\uaed8 D3.js\ub294 \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c \ub3d9\uc801\uc778 \uc2dc\uac01\ud654\ub97c \uac00\ub2a5\ud558\uac8c \ud558\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4.<br \/>\n\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 D3.js\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4.<br \/>\n\uc6b0\ub9ac\ub294 \uac04\ub2e8\ud55c \ubc14 \ucc28\ud2b8\ub97c \uc608\ub85c \ub4e4\uc5b4 D3.js\uc758 \ud798\uc744 \ud65c\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc2dc\uac01\uc801\uc73c\ub85c \ud45c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\uba3c\uc800 \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc138\uc694.<\/p>\n<pre><code>npx create-react-app my-d3-app<\/code><\/pre>\n<p>\uadf8 \ud6c4, D3.js\ub97c \ud504\ub85c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uc5ec D3.js\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>npm install d3<\/code><\/pre>\n<h2>2. \uae30\ubcf8 \uad6c\uc870 \ub9cc\ub4e4\uae30<\/h2>\n<p>\uc6b0\uc120, \uae30\ubcf8\uc801\uc778 \ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8 \uad6c\uc870\ub97c \ub9cc\ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. src \ud3f4\ub354 \uc548\uc5d0 <code>BarChart.js<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \ub2e4\uc74c \ucf54\ub4dc\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>\nimport React from 'react';\nimport * as d3 from 'd3';\n\nconst BarChart = ({ data }) =&gt; {\n    const ref = React.useRef();\n\n    React.useEffect(() =&gt; {\n        const svg = d3.select(ref.current);\n        const margin = { top: 20, right: 30, bottom: 40, left: 40 };\n        const width = 500 - margin.left - margin.right;\n        const height = 300 - margin.top - margin.bottom;\n\n        svg.attr('width', width + margin.left + margin.right)\n           .attr('height', height + margin.top + margin.bottom)\n           .append('g')\n           .attr('transform', `translate(${margin.left},${margin.top})`);\n\n        \/\/ X\ucd95\uacfc Y\ucd95\uc758 \uc2a4\ucf00\uc77c \uc124\uc815\n        const x = d3.scaleBand()\n            .domain(data.map(d =&gt; d.name))\n            .range([0, width])\n            .padding(0.1);\n\n        const y = d3.scaleLinear()\n            .domain([0, d3.max(data, d =&gt; d.value)])\n            .nice()\n            .range([height, 0]);\n\n        \/\/ \ub9c9\ub300\uadf8\ub798\ud504 \ucd94\uac00\n        svg.select('g')\n            .selectAll('rect')\n            .data(data)\n            .enter()\n            .append('rect')\n            .attr('x', d =&gt; x(d.name))\n            .attr('y', d =&gt; y(d.value))\n            .attr('width', x.bandwidth())\n            .attr('height', d =&gt; height - y(d.value))\n            .attr('fill', 'orange');\n\n        \/\/ X\ucd95 \ucd94\uac00\n        svg.append('g')\n            .attr('transform', `translate(0,${height})`)\n            .call(d3.axisBottom(x));\n\n        \/\/ Y\ucd95 \ucd94\uac00\n        svg.append('g')\n            .call(d3.axisLeft(y));\n    }, [data]);\n\n    return <svg ref=\"{ref}\"><\/svg>;\n};\nexport default BarChart;\n<\/code><\/pre>\n<h2>3. \uba54\uc778 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uadf8\ub798\ud504 \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>\uc774\uc81c <code>App.js<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud558\uc5ec <code>BarChart<\/code> \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\nimport React from 'react';\nimport BarChart from '.\/BarChart';\n\nconst data = [\n    { name: 'A', value: 30 },\n    { name: 'B', value: 80 },\n    { name: 'C', value: 45 },\n    { name: 'D', value: 60 },\n    { name: 'E', value: 20 },\n    { name: 'F', value: 90 },\n    { name: 'G', value: 55 },\n];\n\nfunction App() {\n    return (\n        <div>\n            <h1>\ub9ac\uc561\ud2b8\uc640 D3.js\ub97c \uc774\uc6a9\ud55c \ubc14 \ucc28\ud2b8<\/h1>\n            <barchart data=\"{data}\"><\/barchart>\n        <\/div>\n    );\n}\n\nexport default App;\n<\/code><\/pre>\n<h2>4. D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9 \uc774\ud574\ud558\uae30<\/h2>\n<p>D3.js\ub97c \ub9ac\uc561\ud2b8\uc640 \uc5f0\ub3d9\ud558\ub294 \uac83\uc740 \ube44\ub3d9\uae30 \ub370\uc774\ud130 \ucc98\ub9ac\ub97c \ud558\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<br \/>\n\ub9ac\uc561\ud2b8\ub294 \uc0c1\ud0dc(state) \uad00\ub9ac\uc640 \ucef4\ud3ec\ub10c\ud2b8 \uc0dd\uba85\uc8fc\uae30(lifecycle)\uc5d0 \ub300\ud55c \uc54c\uace0\ub9ac\uc998\uc744 \uac00\uc9c0\uace0 \uc788\uc9c0\ub9cc, D3.js\ub294 DOM\uc744 \uc9c1\uc811 \uc870\uc791\ud558\ub294 \ud2b9\uc9d5\uc774 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\ub530\ub77c\uc11c, D3.js\uc758 \uc2dc\uac01\ud654 \uc694\uc18c\ub294 \ub9ac\uc561\ud2b8\uc758 \uc0dd\uba85\uc8fc\uae30\ub97c \uace0\ub824\ud558\uc5ec \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<p>\uc704\uc758 \uc608\uc5d0\uc11c <code>useEffect<\/code> \ud6c5\uc740 \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub80c\ub354\ub9c1\ub420 \ub54c\ub9c8\ub2e4 D3.js\uc758 \uc2dc\uac01\ud654\ub97c \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<br \/>\n\uc774\ub294 \ub370\uc774\ud130\uac00 \ubcc0\uacbd\ub420 \ub54c\ub9c8\ub2e4 \uc0c8\ub85c\uc6b4 \uadf8\ub798\ud504\ub97c \uadf8\ub9b4 \uc218 \uc788\ub3c4\ub85d \ubcf4\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<h2>5. \uc2a4\ud0c0\uc77c\ub9c1\uacfc \uc0ac\uc6a9\uc790 \uacbd\ud5d8 \ud5a5\uc0c1<\/h2>\n<p>D3.js\uc5d0\uc11c \uc2dc\uac01\ud654\ub294 \uae30\ubcf8\uc801\uc73c\ub85c DEBUG \uc6a9\ub3c4\ub85c \uc0ac\uc6a9\ub418\uace0, \ucd5c\uc885\uc801\uc73c\ub85c \uc804\ub2ec\ub418\ub294 \ub370\uc774\ud130\uc5d0 \ub300\ud574 \ub9e4\uc6b0 \uc801\uc740 \uc218\uc900\uc758 \uc2a4\ud0c0\uc77c\ub9c1\uc744 \ud569\ub2c8\ub2e4.<br \/>\n\ub530\ub77c\uc11c, \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574 CSS\ub97c \ud1b5\ud574 \ucc28\ud2b8\uc758 \uc2a4\ud0c0\uc77c\uc744 \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc608\ub97c \ub4e4\uc5b4, \uadf8\ub798\ud504\uc758 \uc0c9\uc0c1, \uae00\uaf34, \ubc0f \uc5ec\ubc31\uc744 \uc870\uc808\ud558\uc5ec \ub354\uc6b1 \ub208\uc5d0 \ub744\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uc2a4\ud0c0\uc77c \ucd94\uac00 \uc608\uc2dc<\/h3>\n<pre><code>\n<style>\n    rect:hover {\n        fill: orange;\n        opacity: 0.8;\n    }\n    .axis--x path {\n        display: none;\n    }\n<\/style>\n<\/code><\/pre>\n<h2>6. \uc5ec\ub7ec \uc885\ub958\uc758 \ucc28\ud2b8 \uc0dd\uc131\ud558\uae30<\/h2>\n<p>D3.js\uc758 \ud798\uc744 \uc774\uc6a9\ud558\uba74 \ub2e4\uc591\ud55c \uc720\ud615\uc758 \uadf8\ub798\ud504\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc704\uc5d0\uc11c \ud655\uc778\ud55c \ubc14 \ucc28\ud2b8 \uc678\uc5d0\ub3c4, \uc120 \uadf8\ub798\ud504, \uc6d0\ud615 \ucc28\ud2b8 \ub4f1\uc744 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uac01 \uadf8\ub798\ud504\uc758 \uad6c\ud604 \ubc29\ubc95\uc740 D3.js\uc758 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc774\uc6a9\ud558\uc5ec \ub0b4\uc7a5\ub41c \uba54\uc11c\ub4dc\ub97c \ud65c\uc6a9\ud558\uac70\ub098 \ucee4\uc2a4\ud140 \uba54\uc11c\ub4dc\ub97c \uc791\uc131\ud558\uc5ec \uc9c0\uc6d0\ud569\ub2c8\ub2e4.<\/p>\n<h2>7. \ub370\uc774\ud130 \ubc14\uc778\ub529 \ubc0f \ub3d9\uc801 \ub370\uc774\ud130 \ucc98\ub9ac<\/h2>\n<p>D3.js\uc758 \uac15\ub825\ud55c \uae30\ub2a5 \uc911 \ud558\ub098\ub294 \ub370\uc774\ud130 \ubc14\uc778\ub529(data binding)\uc785\ub2c8\ub2e4.<br \/>\n\ub9ac\uc561\ud2b8\uc758 \uc0c1\ud0dc(state) \uad00\ub9ac\uc640 D3.js\uc758 \ub370\uc774\ud130 \ubc14\uc778\ub529\uc744 \uacb0\ud569\ud558\uc5ec, \ub3d9\uc801\uc778 \ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc608\ub97c \ub4e4\uc5b4, \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c \uadf8\ub798\ud504\ub97c \uc5c5\ub370\uc774\ud2b8 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\ub3d9\uc801 \ub370\uc774\ud130 \ucc98\ub9ac \uc608\uc2dc<\/h3>\n<pre><code>\nconst [data, setData] = React.useState(initialData);\n\n\/\/ \ub370\uc774\ud130\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\ub294 \ud568\uc218\nconst handleDataUpdate = (newData) =&gt; {\n    setData(newData);\n};\n\n\/\/ \ucef4\ud3ec\ub10c\ud2b8 \uc548\uc5d0\uc11c <barchart data=\"{data}\"><\/barchart> \uc0ac\uc6a9\n<\/code><\/pre>\n<h2>8. \ub9ac\uc561\ud2b8\uc758 \uc0c1\ud0dc \uad00\ub9ac \ub77c\uc774\ube0c\ub7ec\ub9ac\uc640 D3.js \ud1b5\ud569<\/h2>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c\ub294 \uc804\uc5ed \uc0c1\ud0dc \uad00\ub9ac\ub97c \uc704\ud574 Redux\uc640 \uac19\uc740 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc774\uc640 \uac19\uc740 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ud65c\uc6a9\ud558\uc5ec D3.js\uc640 \uc5f0\ub3d9\ud558\uba74 \ub354\uc6b1 \ubcf5\uc7a1\ud55c \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\ud2b9\ud788, Reselect\ub098 Redux-Saga\uc640 \uac19\uc740 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774\uc810\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>9. \ucd5c\uc801\ud654 \ubc0f \uc131\ub2a5 \ud5a5\uc0c1<\/h2>\n<p>D3.js\uc640 \ub9ac\uc561\ud2b8\ub97c \ud568\uaed8 \uc0ac\uc6a9\ud560 \ub54c, \uc131\ub2a5 \ucd5c\uc801\ud654\uac00 \uc911\uc694\ud569\ub2c8\ub2e4.<br \/>\n\uc904\uc5b4\ub4e0 DOM \uc5c5\ub370\uc774\ud2b8 \ubc0f \ubd88\ud544\uc694\ud55c \uc7ac\ub80c\ub354\ub9c1\uc744 \ud53c\ud558\ub294 \uac83\uc774 \ud575\uc2ec\uc785\ub2c8\ub2e4.<br \/>\n<code>React.memo<\/code> \ub610\ub294 <code>useMemo<\/code>\uc640 \uac19\uc740 \ub9ac\uc561\ud2b8\uc758 \ub0b4\uc7a5 \ucd5c\uc801\ud654 \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\nconst BarChart = React.memo(({ data }) =&gt; {\n    \/\/ \uc2dc\uac01\ud654 \ub85c\uc9c1...\n});\n<\/code><\/pre>\n<h2>10. \uacb0\ub860<\/h2>\n<p>D3.js\uc640 \ub9ac\uc561\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \uadf8\ub798\ud504\uc640 \ucc28\ud2b8\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubd24\uc2b5\ub2c8\ub2e4.<br \/>\n\uc774 \uc870\ud569\uc740 \ub370\uc774\ud130 \uc2dc\uac01\ud654\ub97c \ub9e4\uc6b0 \uac15\ub825\ud558\uac8c \ub9cc\ub4e4\uc5b4 \uc904 \uc218 \uc788\uc73c\uba70, \ub2e4\uc591\ud55c \uc2dc\ub098\ub9ac\uc624\uc5d0\uc11c \ud65c\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc774\uc81c \uc5ec\ub7ec\ubd84\uc740 \uc774 \uac15\uc88c\ub97c \ubc14\ud0d5\uc73c\ub85c \uc5ec\ub7ec\ubd84\uc758 \ub370\uc774\ud130\uc5d0 \ub9de\ub294 \ub2e4\uc591\ud55c \uc2dc\uac01\ud654 \ub3c4\uad6c\ub97c \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>11. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/reactjs.org\/docs\/getting-started.html\">\ub9ac\uc561\ud2b8 \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/d3js.org\/\">D3.js \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/observablehq.com\/@d3\/gallery\">D3.js \uc2dc\uac01\ud654 \uc0ac\ub840<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub9ac\uc561\ud2b8(React)\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\ud55c UI\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uc640 \ud568\uaed8 D3.js\ub294 \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c \ub3d9\uc801\uc778 \uc2dc\uac01\ud654\ub97c \uac00\ub2a5\ud558\uac8c \ud558\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 D3.js\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uac04\ub2e8\ud55c \ubc14 \ucc28\ud2b8\ub97c \uc608\ub85c \ub4e4\uc5b4 D3.js\uc758 \ud798\uc744 \ud65c\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc2dc\uac01\uc801\uc73c\ub85c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39046\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[191],"tags":[],"class_list":["post-39046","post","type-post","status-publish","format-standard","hentry","category-react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/39046\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ub9ac\uc561\ud2b8(React)\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\ud55c UI\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uc640 \ud568\uaed8 D3.js\ub294 \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c \ub3d9\uc801\uc778 \uc2dc\uac01\ud654\ub97c \uac00\ub2a5\ud558\uac8c \ud558\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 D3.js\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uac04\ub2e8\ud55c \ubc14 \ucc28\ud2b8\ub97c \uc608\ub85c \ub4e4\uc5b4 D3.js\uc758 \ud798\uc744 \ud65c\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc2dc\uac01\uc801\uc73c\ub85c &hellip; \ub354 \ubcf4\uae30 &quot;\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39046\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T02:36:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:34+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/39046\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39046\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504\",\"datePublished\":\"2024-11-02T02:36:34+00:00\",\"dateModified\":\"2024-11-26T06:42:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39046\/\"},\"wordCount\":62,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"React\ud504\ub860\ud2b8\uc5d4\ub4dc\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39046\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39046\/\",\"name\":\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T02:36:34+00:00\",\"dateModified\":\"2024-11-26T06:42:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39046\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39046\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39046\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/39046\/","og_locale":"ko_KR","og_type":"article","og_title":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ub9ac\uc561\ud2b8(React)\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\ud55c UI\ub97c \uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uc640 \ud568\uaed8 D3.js\ub294 \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c \ub3d9\uc801\uc778 \uc2dc\uac01\ud654\ub97c \uac00\ub2a5\ud558\uac8c \ud558\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 D3.js\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee4\uc2a4\ud140 \ucc28\ud2b8\uc640 \uadf8\ub798\ud504\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uac04\ub2e8\ud55c \ubc14 \ucc28\ud2b8\ub97c \uc608\ub85c \ub4e4\uc5b4 D3.js\uc758 \ud798\uc744 \ud65c\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc2dc\uac01\uc801\uc73c\ub85c &hellip; \ub354 \ubcf4\uae30 \"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504\"","og_url":"https:\/\/atmokpo.com\/w\/39046\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T02:36:34+00:00","article_modified_time":"2024-11-26T06:42:34+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/39046\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39046\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504","datePublished":"2024-11-02T02:36:34+00:00","dateModified":"2024-11-26T06:42:34+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39046\/"},"wordCount":62,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["React\ud504\ub860\ud2b8\uc5d4\ub4dc"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39046\/","url":"https:\/\/atmokpo.com\/w\/39046\/","name":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T02:36:34+00:00","dateModified":"2024-11-26T06:42:34+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39046\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39046\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39046\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ucc28\ud2b8\uc640 \uadf8\ub798\ud504 \uad6c\ud604\ud558\uae30, D3.js\uc640 \ub9ac\uc561\ud2b8\uc758 \uc5f0\ub3d9\uc744 \ud1b5\ud55c \ucee4\uc2a4\ud140 \uadf8\ub798\ud504"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=39046"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39046\/revisions"}],"predecessor-version":[{"id":39047,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39046\/revisions\/39047"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}